1. No Profile Picture
Junior Member
Devshed Newbie (0 - 499 posts)

Join Date
Jul 2003
Location
VA
Posts
4
Rep Power
0

Hi,

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.

geebee
2. So which part is the problem? We aren't going to just do this all for you :)
3. 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:

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
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.