Saturday, May 26, 2018

Qbasic Program to print the series 1,22,333,4444,55555

Qbasic Program to print the series
1,22,333,4444,55555



CLS
FOR i = 1 TO 5
    FOR j = 1 TO i
        PRINT i;
    NEXT j

    PRINT
NEXT i
END

No comments:

Post a Comment