Question: ( 2 5 points ) Write a MATLAB program to: - Prompt the user to enter numeric grades ( one at a time ) within

(25 points) Write a MATLAB program to:
- Prompt the user to enter numeric grades (one at a time) within a while loop. Any number of grades can be entered. The user should enter a negative number to indicate that there are no more grades.
- Determine the number of grades in each grade range using a standard 10 point scale: A (90 or higher),\(\mathrm{B}(80-90),\mathrm{C}(70-80),\mathrm{D}(60-70)\), and \(\mathrm{F}(0-60)\).
- Determine the maximum, minimum, and average grade.
- Display the results including the number of grades, maximum grade, minimum grade, and the number of grades in each grade range.
- Test the program for cases including 4 grades, 10 grades, and 20 grades with the grades reasonably distributed between the grade ranges.
( 2 5 points ) Write a MATLAB program to: -

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 Programming Questions!