Part 2: Debugging Exercise 4
// 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 the end, the total number of scores processed is displayed.
No
New
score >= CUTOFFSIZE
output "Enter next score or a negative"
start
GetReady()
output MSGS[SIZE]
Declarations
output
SIZE = "Enter score or a"
input score
CUTOFFS[SIZE] = 95, 88, 70
count
Message()
finishUp()
output
finishUp()