Question: For this assignment you will write a program in C that calculates a students result from a course. Your code should read in three percentages

For this assignment you will write a program in C that calculates a students result from a course.
Your code should read in three percentages representing their marks for assignment, a lab exam and a
written exam.
It should then calculate their overall result. The exam counts for 50% of the marks, the lab exam 25%
and the assignment 25%.
Finally it should display their overall mark as a percentage and the appropriate grade from the following
table:
Mark Grade
70+ A
60-69 B
50-59 C
40-49 D
<40 E
You should submit your code and a sample of the input and output in a single pdf document.

Step by Step Solution

3.44 Rating (144 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The task is to write a C program that calculates a students final grade in a course given their mark... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!