Question: Write a MATLAB program that will curve a grade entered by the user. The grade should be read from the user and should be an

Write a MATLAB program that will curve a grade entered by the user. The grade should be read from the user and should be an integer with 0 being the minimum grade and 100 being the maximum grade. The program should display the entered grade and the curved grade. The instructor who will use this program is a bit odd and desires the following curving scheme: if the grade is in the range of 0 to 60 curve by -5, if the grade is in the range of 61 to 85 give no curve, and if the grade is in the range of 86 to 100 curve by +5. Verify the operation of the program by testing it for the grades: 27,60,80,86, and 98. Hint: this should be solved using if-else statement(s) and not a swi XN11 tch-case statement.

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!