Question: a . Using for or while loop structure, write a MATLAB program to ask a user to enter each of the following grades one at

a. Using for or while loop structure, write a MATLAB program to ask a user to enter each of the following grades one at a time. (10%)
b. Count the number of grades and display it on the screen with proper message. (5%)
c. Using for loop, count the number of grades that are greater than 50 and display it on the screen with proper message.(Do not use find function here)(5%)
d. Find the lowest grade and display it on the screen with proper message. (10%)
e. Add a separate code section to your main program file to swap the first number in the list with the last number. (10%)
grades(75,100,78,60)
a . Using for or while loop structure, write a

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!