Solved

What Is the Value of ANSWER After the Instructions Corresponding

Question 14

Multiple Choice

What is the value of ANSWER after the instructions corresponding to the following pseudocode are executed?
 COUNT =1 SUM =3 DOWHILE COUNT 0 SUM = SUM + COUNT  COUNT = COUNT 1 ENDDO  ANSWER = SUM \begin{array} { l } \text { COUNT } = 1 \\\text { SUM } = 3 \\\text { DOWHILE COUNT } \geq 0 \\\quad \text { SUM } = \text { SUM } + \text { COUNT } \\\quad \text { COUNT } = \text { COUNT } - 1 \\\text { ENDDO } \\\text { ANSWER } = \text { SUM }\end{array}


A) 3
B) 4
C) 5
D) 6

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions