USE MATLAB
Posted: Sun May 15, 2022 10:01 am
USE MATLAB
1. Script m-file: Grade a. Write a script m-file (not a function) that gives the letter grade for a student when any numerical grade between 0 and 100 (inclusive) is entered. The user will enter a grade, and the output should look like: The grade is a B. or something to that effect. Use the grade scale at right The grade scale is: A 90 <score < 100 B 80 <score <90 с 70 <score < 80 60 <score <70 F score <60 D b. Show your electronic file to the instructor for testing. c. Print the completed m-file. A complete m-file includes your name and date in comment lines at the top of the m-file. Do not forget to use comment lines throughout the file to explain what key parts of the m-file are supposed to do.
1. Script m-file: Grade a. Write a script m-file (not a function) that gives the letter grade for a student when any numerical grade between 0 and 100 (inclusive) is entered. The user will enter a grade, and the output should look like: The grade is a B. or something to that effect. Use the grade scale at right The grade scale is: A 90 <score < 100 B 80 <score <90 с 70 <score < 80 60 <score <70 F score <60 D b. Show your electronic file to the instructor for testing. c. Print the completed m-file. A complete m-file includes your name and date in comment lines at the top of the m-file. Do not forget to use comment lines throughout the file to explain what key parts of the m-file are supposed to do.