Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
- 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).
- If the score is less than or equal to 100 and greater than or equal to 70, the student gets Excellent
- If the score is less than 70 and greater than or equal to 55, the student gets Good
- If the score is less than 55 and greater than or equal to 20, the student gets Pass
- If the score is less than 20 and greater than or equal to 0, the student gets Fail
- 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started