Computer Science, asked by Anonymous, 10 months ago

to print series 54321 5432 543 54 5 by using for...next in qbasic

Answers

Answered by poonamaalok8581
1

Answer:

To display the pattern.

54321

5432

543

54

5

CLS

FOR i = 1 TO 5

FOR j = 5 TO i STEP -1

PRINT j;

NEXT j

PRINT

NEXT i

END

Similar questions