Qbasic to display 1,1,2,3,5....10th term

Qbasic to display 1,1,2,3,5.....10th term




CLS
FOR I = 1 TO 5
FOR J = 1 TO I
NEXT I ;
NEXT J
PRINT
NEXT I 
END

Comments

Popular Posts