Question PSC-LOOP-0035
EasyWhat does the following pseudocode print?
Integer x = 5
do
x = x + 2
while (x < 4)
Print x
- A.
5
- B.
7
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Loops question
What does the following pseudocode print?
Integer x = 5
do
x = x + 2
while (x < 4)
Print x
5
7
Sign up free to see the answer and a step-by-step explanation.
9
4