Question: Write a complete C++ program to calculate average grades of 10 students. You have to ask the user to enter the student Name and student's
Write a complete C++ program to calculate average grades of 10 students. You have to ask the user to enter the student Name and student's grade 10 times. If the grade is less than 50, you should NOT consider this grade in the average: discard the value. If the grade is greater than 50, you consider this grade in calculating the average and print the student name You have to use loop. You have option to use either while or for. Hint: the grade should be double type. Student Name should be string. Formula of the average For example: sum of 2 grades is sum- 81+82. Then the Average is sum/2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
