What will be the output of the following pseudo code? Integer a,b,c Set…
PYQ Accenture Hiring Assessment 2023
What will be the output of the following pseudo code?
Integer a,b,c
Set a=6,b=84
while(b>0)
b=b/2
a=a+6
c=a+b
while(c>40)
if(c mod 2 IS EQUAL TO 0)
Print a
else
Print b
c=c/10
End while
End while
Print c
- A.
48, 4
- B.
12, 4
- C.
12, 1, 4
- D.
12, 1, 48, 4
Attempted by 23 students.
Sign up free to check your answer
Sign up freeLoading lesson…

