Question: Write a MATLAB script utilizing IF-ELSEIF-ELSE statements that asks the user to enter a grade between 0 and 100 (0 is the minimum grade and

 Write a MATLAB script utilizing IF-ELSEIF-ELSE statements that asks the user

Write a MATLAB script utilizing IF-ELSEIF-ELSE statements that asks the user to enter a grade between 0 and 100 (0 is the minimum grade and 100 is the maximum). After the user has entered their grade, the computer must then assign the appropriate letter grade based on the list of criteria provided in the table below and display a statement informing the user the letter grade that they have earned. The minimal criterion for each letter grade is as follows: If the user has earned a grade of B, the computer must display the message: You earned a grade of. Your letter grade is B. The location given by must display the number grade that the user entered earlier. Therefore, if the user entered a grade of 74, the message must show: You earned a grade of 74. Your letter grade is B. If the user entered a grade of 56, the message must show: You earned a grade of 74. Your letter grade is F

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!