Wednesday, November 6, 2019

Qbasic

1, 4, 9, 16,……..up to 10th term

CLS
FOR I = 1 TO 10
PRINT I ^ 2
NEXT I 
END

No comments:

Post a Comment