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
Read VALUE
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

a) 4

Computer Science & Information Technology

You might also like to view...

In the Outlook Web App, the Drafts folder is where incomplete and unsent emails you write are stored

Indicate whether the statement is true or false

Computer Science & Information Technology

If the field width is larger than the data being printed, the data will normally be __________ within that field.

a) truncated b) right justified c) centered d) left justified

Computer Science & Information Technology