What value of COUNT will be output after the instructions corresponding to the following pseudocode are executed, assuming 7 values - 5, 6, 7, 3, 0, 4, 2 - are input, one on each record?

```
COUNT = 0
SUM = 0
VALUE = 1
DOWHILE VALUE > 0
Write Value
SUM = SUM + VALUE
COUNT = COUNT + 1
Read VALUE
ENDDO
Write SUM, COUNT


```

a) 4
b) 5
c) 6
d) 7

b) 5

Computer Science & Information Technology

You might also like to view...

The Restore Down button is part of the title bar

Indicate whether the statement is true or false

Computer Science & Information Technology

The ________ operator can be used to calculate the number of records within a group

Fill in the blank(s) with correct word

Computer Science & Information Technology