Question: In the two debugging exercises below can someone point out to me where errors are and what Correct coding is to fix the errors. //
In the two debugging exercises below can someone point out to me where errors are and what Correct coding is to fix the errors.


// Program asks students for score on test and displays corresponding message - at least 95 is Excellent, at least 88 is Very good, at least 70 is Passing, and anything lower than 70 is Failing. At end, total number of scores processed is displayed start get Ready.(). Declarations num score num SIZE = 4 output mum CUT_OFFS [SIZE] = 95, 88, 70, 0 "Enter score or a string MSGS[SIZE] = "Excellent", negative number to "Very good", "Passing", quit" "Failing" num sub mum count input sub get Ready.U. return Yes 02 findMessage.(). finishUp.(). No count, student scores finishUp.() processed" return Stopem i= CUT_OFFS [SIZE] :1 m "Enter next score or a negative number to quit" m MEGS [SIZE]
// Program asks students for score on test and displays corresponding message - at least 95 is Excellent, at least 88 is Very good, at least 70 is Passing, and anything lower than 70 is Failing. At end, total number of scores processed is displayed. start Declarations num score num SIZE = 4 num CUT OFFS [SIZE] = 95, 88, 70, 0 string MSGS (SIZE] = "Excellent", "Very good", "Passing", "Failing" num sub num count getReadz.U score > 02 No finishUp.U OU STOR Yes findMessage. getReady.( SHERE "Enter score or a negative number to quit" input sub finishUp.. count, processed" Keturn QUERUE student scores return
Step by Step Solution
There are 3 Steps involved in it
To debug the given pseudocode we need to identify the errors and provide the corrected pseudocode Lets go step by step Errors in the Original Pseudoco... View full answer
Get step-by-step solutions from verified subject matter experts
