Question: For this assignment, you must use if , elseif , else , and end statements. You may not use looping commands MATLAB: A professor needs

For this assignment, you must use if, elseif, else, and end statements. You may not use looping commands

  1. MATLAB: A professor needs help analyzing how his students are doing in his class. He has a total of six students in his class and has just given out an exam. You must make a program that will prompt the professor for the raw score of each students exam (out of 100).
    1. If the score is less than or equal to 100 and greater than or equal to 70, the student gets Excellent
    2. If the score is less than 70 and greater than or equal to 55, the student gets Good
    3. If the score is less than 55 and greater than or equal to 20, the student gets Pass
    4. If the score is less than 20 and greater than or equal to 0, the student gets Fail
    5. For all other inputs, let Professor Butler know that he messed up by outputting Error

For this assignment, you must use if, elseif, else, and end statements. You may not use looping commands.

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!