Wednesday, June 20, 2018

Qbasic Program to display 5 44 333 2222 11111

Qbasic Program to display
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

No comments:

Post a Comment