Structure program in Qbasic

Observe the following coding in qbasic :--

FOR  I=1 TO 5
FOR J=1 TO 5
IF (I=J) OR (I+J=6) THEN
PRINT "*"; 
ELSE
PRINT "  ";
END IF
NEXT J,I

The output will produce a structure that looks like a letter in the English alphabet! Can you find the letter?

×

Problem Loading...

Note Loading...

Set Loading...