Computer Science, asked by subhankarjanavis, 7 months ago

write a qbasic program to print the patten 11111, 2222,333,44,5​

Answers

Answered by rajeshsingh3434
0

Answer:

5

44

333

2222

11111

CLS

FOR i = 5 TO 1 STEP -1

   FOR j = 5 TO i STEP -1

       PRINT i;

   NEXT j

   PRINT

NEXT i

END

HOPE YOU FIND IT USEFUL

THIS IS THE CODE

Similar questions