Solved

What Is the Value of ANSWER After the Instructions Corresponding

Question 2

Multiple Choice

What is the value of ANSWER after the instructions corresponding to the following pseudocode are executed?
 COUNT =5 SUM =100 DOUNTIL COUNT <5 SUM = SUM +5 COUNT = COUNT 1 ENDDO  ANSWER = SUM \begin{array} { l } \text { COUNT } = 5 \\\text { SUM } = 100 \\\text { DOUNTIL COUNT } < 5 \\\quad \text { SUM } = \text { SUM } + 5 \\\quad \text { COUNT } = \text { COUNT } - 1 \\\text { ENDDO } \\\text { ANSWER } = \text { SUM }\end{array}


A) 5
B) 100
C) 105
D) 125

Correct Answer:

verifed

Verified

Related Questions