MCQ
Sum = 0; FOR count = 1 TO 3; Sum = Sum + count; NEXT count; PRINT Sum. What is the output?
Unit-2 Computational Thinking and Algorithms
A 3
B 6
C 10
Explanation

The loop adds 1+2+3 = 6, so Sum becomes 6.