Solved

Case 1 You Have Just Starting Working at Quantum Company. as a Company

Question 44

Multiple Choice

Case 1

You have just starting working at Quantum Company. As a new programmer, you have been asked to review and correct various pseudocode.

-In the following pseudocode,what will be the value of sum after the code is run? Declarations
Num count = 0
Num sum = 0
While count < 3
For X = 1 to 2 step 1
Sum = sum + X
Endfor
Count = count + 1
Endwhile


A) 3
B) 6
C) 9
D) 12

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents