July 22nd, 2003, 01:33 PM
Final Grade Calculator
I am new to learning C. I need your help once again.
I have to Write a C program that will read in the scores for the following:
test 1, test2, test3, quiz1, quiz2, quiz3, quiz4, lab 1, lab 2, lab 3, lab 4, lab 5, lab 6, and final test into an array.
Use the following percentages for calculating the grade for the course and a letter grade for the final grade
average test worth 30 percent of final grade
average for quizzes worth 10 percent of final grade
average for labs worth 40 pecent of final grade
final exam worth 20 percent of final grade
90-100 = A
80-89 = B
70-79 = C
60-69 = D
0-59 = F
ALso, write the code to Print out the final grade and the letter grade.
You can use any sample scores.
Thanks in advance,
July 22nd, 2003, 03:53 PM
So which part is the problem? We aren't going to just do this all for you :)
July 22nd, 2003, 05:12 PM
Sorry, I never give people answers to their homework, and I've never asked for the answers to my homework. (except history) If you want to learn, you have to learn the information yourself.
But I will give you a shove in the right direction:
Take the first line:
First you would have to figure out the averate test score. You know how to do that, right?
Second, take 30% of that value, add it to your running total.
Lather, rinse, repeat.