Question

What is the output of the following pseudo-code?   ```     count = 0     for i from 1 to 3:         for j from 1 to i:             count = count + 1     print(count)     ```

A 3
B 6
C 9
D 12
Practice Next

Hey! Ask a query