write a c program that computes the grade of a student using the formula.
grade=40%major exam+30% ave of two long exams + 30%ave of 3 short quizzes..

Display the average of two long exams,average of 3 short quizzes and the grade of the student. Display also a message whether the student passed or failed passing is 75%

sample output:
Enter Major exam grade:97
Enter first long exam grade:88
Enter second long exam grade:90
Enter the first short quiz grade:85
Enter the second short quiz grade:75
Enter the third short quiz grade:82

The average of the two long exams is 88.0
The average the three short quizzes is 80.0
Student grade is 89.2
PASSED!~

4
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by restrictment

OK. I did it. Now what?

OK. I did it. Now what?

LOL :D

@amia: Moms are good at doing homework for kids too :)

I has a solution to your problem! =D
..and here is your genuine answer:

write a c program that computes the grade of a student using the formula.
grade=40%major exam+30% ave of two long exams + 30%ave of 3 short quizzes..

Display the average of two long exams,average of 3 short quizzes and the grade of the student. Display also a message whether the student passed or failed passing is 75%
__________________________________

No, but really, we don't do homework for you..you need to make an attempt at solving it for yourself first. If you get stuck, ask us about the particular part that you are stuck on. This helps you out in the long run, trust me.

Edited by restrictment: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.