Question: C++ Programming You are required to write a program that calculates the grade of students. Each student will have 5 subjects. You are required to

 C++ Programming You are required to write a program that calculates

C++ Programming

You are required to write a program that calculates the grade of students. Each student will have 5 subjects. You are required to get the student's name and marks from the user. The marks must be kept in a one dimensional array in the main() function. This array must then be passed to an average...) function in order to calculate the average marks for students. The average mark that has been calculated must then be returned to the main() function. AVERAGE MARKS average_marks above= 80 average_marks above -60 average_marks above =50 average_marks below 50 GRADE B F Next, from the main() function, the average is passed to the greds.) function to calculated the grade for students. Grade that has been calculated must be returned to the main() function. In the main() function, display the student's name, average mark and grade. Output should be as follows, Sample Output Screen Enter Name :Dory Enter Marks : 78 Enter Marks : 55 Enter Marks : 50 Enter Marks : 91 Enter Marks : 55 Name : Dory Average: 65.8 Grade : B

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!