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.
USE MATLAB
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
USE MATLAB
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!