Question: Write basic code using MATLAB: A simple grading program is necessary that will take as input the student ID, the number of correct answers and

Write basic code using MATLAB:
A simple grading program is necessary that will take as input the student ID, the number of correct answers and the number of incorrect answers and determine the percentage of correct answers. An example of what your program will look like is as follows:
-----
Enter the student ID: A123B456
Enter the number of correct answers: 58
Enter the number of incorrect answers: 15
Student A123B456 answered 79.5% of the questions correctly.
-----
The highlights have been added to indicate user inputs. Your output will not be highlighted. To demonstrate that your code works you are to do the above example and guarantee the output to be exactly as above.
 Write basic code using MATLAB: A simple grading program is necessary

1. A simple grading program is necessary that will take as input the student ID, the number of correct answers and the number of incorrect answers and determine the percentage of correct answers. An example of what your program will look like is as follows: Enter the student ID: A123456 Enter the number of correct answers: 58 Enter the number of incorrect answers: 15 Student A123B456 answered 79.5% of the questions correctly. The highlights have been added to indicate user inputs. Your output will not be highlighted. To demonstrate that your code works you are to do the above example and guarantee the output to be exactly as above. Your .m file and the output to the command window for the example above are to be submitted

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!