Question: In a script file named Initials_HW_03_pb_05.m prompt the user to enter the total numeric grade, g (between 0 & 100). Prompt your code to give
In a script file named Initials_HW_03_pb_05.m prompt the user to enter the total numeric grade, g (between 0 & 100). Prompt your code to give an error message if the grade entered is not between 0 and 100. The code checks if the student has passed or failed and calculates the letter grade (LG) based on the following:
Test your script with one value in each of the 5 ranges. Add the outputs as comments. Output
Example:
o The student with g= 73 has passed with a LG of C
o The Student with g= 67 has Failed with a LG of D
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
