if the following records are input, what is the value of NAME-ACCUM after the instructions corresponding to the pseudocode are executed?
Given the following pseudocode:
```
Start
FINAL-ACCUM = 0
NAME-ACCUM = 0
Read NAME, AMT
SAVE-NAME = NAME
DOWHILE not EOF
IF NAME ? SAVE-NAME THEN
Write NAME-ACCUM
FINAL-ACCUM = FINAL-ACCUM + NAME-ACCUM
SAVE-NAME = NAME
(ELSE)
ENDIF
Write NAME, AMT
NAME-ACCUM = NAME-ACCUM + AMT
Read NAME, AMT
ENDDO
Stop
```
John 20.00
John 30.00
Mary 10.00
Sue 50.00
a) 10
b) 50
c) 60
d) 110
d) 110
You might also like to view...
What is the difference between Datasheet view and Design view in a table?
What will be an ideal response?
The start-up form is the form that automatically opens when the database is launched
Indicate whether the statement is true or false
The OSI model's Presentation layer translates data from lower layers into a format usable by the ____________________ layer, and vice versa.
Fill in the blank(s) with the appropriate word(s).
In the figure above, the number 2 refers to the ____________________ text box.
Fill in the blank(s) with the appropriate word(s).