90.1k views
0 votes
Write the qbasic program to print
11111 1111 111 11 1

User DrDave
by
4.1k points

1 Answer

3 votes

Answer:

To print the given series.

11111

1111

111

11

1

CLS

n = 11111

FOR i = 1 TO 5

PRINT n

n = (n - 1) / 10

NEXT i

END

User Emilpytka
by
3.2k points