Computer Science, asked by shardul1925, 1 year ago

Write a program in Q Basic to display the above pattern?

Attachments:

Answers

Answered by siddhartharao77
2
Here is the code for the QBASIC pattern.


CLS

FOR i = 1 TO 5

FOR j = 1 TO i 

k = j MOD 2

PRINT k;

NEXT j

PRINT

NEXT i

END.

siddhartharao77: If possible brainliest it
shardul1925: it is the brainliest
charayavarun: hlo
Answered by Anonymous
23
ANSWER
...........



The programme is given below
.........

********************

FOR i = 1 TO 5

FOR j = 1 TO i

I = 1 to 5
J = 1 to i

*******************

k = j MOD 2

PRINT k;

= NEXT j

= PRINT

= NEXT i





©©©©©©©©©©©©©©©
Similar questions