Question: Please create the following script in MATLAB: Write a MATLAB script that will ask the user to input quiz grade scores one at a time,
Please create the following script in MATLAB:

Write a MATLAB script that will ask the user to input quiz grade scores one at a time, entering a negative value to indicate when there are no more scores to enter. Store each value in an array named scores. Accumulate the total of the scores by adding each new score to the total, as it is input within the loop. Finally, after all the scores have been entered, use the accumulated total to compute and display the number of scores entered and the average score with one decimal place of precision. Note: the quiz scores to be entered will be range from 0 to 10. Test your script with the sample scores: 8 10 6 8 9 Write a "complete" MATLAB script including a proper heading, comments and indentation structure. (Do not use any built in MATLAB functions to compute the sum or the average) Submit your script and the command window results of testing in .pdf form to Quiz Week 9 Part B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
