Quiz 3: Advanced DecisionsName:ASE 201Write a MATLAB script (BE SURE TO USE MATLAB NOTATION!) that will assign a lettergrade based on the percent score. The script should perform the following tasks1. Read-in two variables. One variable should be the points possible and the other should bethe points scored.2. Calculate the percent score.3. Gives a letter grade based on the following grading scale:100≥score≥90A90>score≥80B80>score≥70C70>score≥60D60>scoreF4. Displays the percent score and letter grade. You may use disp() or fprintf().The output of the program should look something like this if you were to run it on MATLAB:
This is the end of the preview.
access the rest of the document.