Open In App

Infosys | Pseudocode Questions | Question 8

Count the number of ” # ” printed.

For x = 0 to 8 do
    For y = 0 to 6 do
        display ‘#’
    End-for
    If(x = 2) then do
        break 
    End-if 
End-for



(A)

14



(B)

13

(C)

21

(D)

20

Answer: (C)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :
Uncategorized