// This program gets student names continuously until XXX is entered. Then, for each student, quiz scores are entered until O is entered. Then the student's name and total are displayed. start Declarations string name num score string QUIT = - "XXX" num OUIT SCORE = 0 num total (housekeeping () output "Please enter name or XXX to quit" input name housekeeping O return name <> QUIT? No Yes detailLoop( (endofjob () endofJob ( stop output "Job complete" (return what needs to be added and fixed? Debugging 5-04
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
// This program gets student names continuously until XXX is entered.
Then, for each student, quiz scores are entered until O is entered. Then the student's name and total are displayed.
start
Declarations
string name num score string QUIT =
- "XXX"
num OUIT SCORE = 0
num total
(housekeeping ()
output "Please enter name or
XXX to quit"
input name
housekeeping O
return
name <>
QUIT?
No
Yes
detailLoop(
(endofjob ()
endofJob (
stop
output "Job complete"
(return
what needs to be added and fixed? Debugging 5-04
Trending now
This is a popular solution!
Step by step
Solved in 2 steps