What will be the output of the following pseudo code? Integer a, b, c, d, e…

PYQ Accenture Hiring Assessment 2025

What will be the output of the following pseudo code?

Integer a, b, c, d, e

Set a=50, b=3, c=3, e=0

while(c>0)

d=a mod b

e= e + d + a

c= c - 1

End while

Print e

  1. A.

    52

  2. B.

    100

  3. C.

    156

  4. D.

    153

Attempted by 44 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…