Question

What is the output of the following pseudocode? SET x = 10 SET result = 0 WHILE x > 0   result = result + x   x = x - 3 END WHILE PRINT result

A 22
B 25
C 28
D 30
E 18
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)