Question: Use a while loop to accept and store numerical grades of five students from the instructor. The numerical grade should be in between 0 to
Use a while loop to accept and store numerical grades of five students from the instructor. The numerical grade should be in between 0 to 100. Program must display an error message and let the instructor to enter all five grades again without terminating the program if the instructor enters a value which is not in between 0 and 100. After all five numbers are entered the program should produce and display the corresponding letter grade as below. Use 'fprintf' command to show the corresponding numerical grade and the letter grade in a table as shown below. Use a for loop to perform this task. Find and display the class average also P x greaterthanorequalto 70 D lessthanorequalto x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
