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

    Join Date
    Jul 2003
    Location
    VA
    Posts
    4
    Rep Power
    0

    Final Grade Calculator


    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.


    Thanks in advance,
    geebee
  2. #2
  3. Just another guy
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Jun 2003
    Location
    Wisconsin
    Posts
    2,953
    Rep Power
    261
    So which part is the problem? We aren't going to just do this all for you :)
  4. #3
  5. Doggie
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2003
    Location
    Seattle, WA
    Posts
    751
    Rep Power
    12
    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.

IMN logo majestic logo threadwatch logo seochat tools logo