Open In App

Capgemini | Pseudocode Questions | Question 17

Predict the output of the following pseudo-code

Integer a, b, c, d
Set b = 20, c = 11
a = b – c
for (each c from 4 to a)
  b = b * 2
end for
c = a + b + c
Print a b c

(A)



9 640 660

(B)



2 50 80

(C)

-10 93 9

(D)

51 1 13

Answer: (A)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :
Uncategorized