Question: Program 0 2 : using C + + You need to write a C program that prompts an instructor to enter the numeric grades earned

Program 02: using C++
You need to write a C program that prompts an instructor to enter the numeric
grades earned by a student and calculate the average score and course grade for
the student. You should use a 'do while' loop and a 'switch' statement.
You need to ask the instructor how many grades they are going to enter for the
student. Then, use a loop to prompt the instructor to enter the individual
numeric grade earned by the student. After the loop has finished, you need to
calculate the average grade (this is the accumulated total number of grades
entered by the instructor divided by the number of grades entered). Then you
should use a Switch statement to get the letter grade earned by the student (Hint:
in the Switch statement, you will need to use the following: (int)averageGrade /the number of grades entered). Once you exit the Switch command, you need to
display the average grade and the grade received.
For example, if the user chooses to enter 4 exams, and the four grades for the
exams are 80,50,60, and 90, the average grade should be a 70 and the grade
received should be a C.
 Program 02: using C++ You need to write a C program

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!