theinfozones blog
To display the series 2, 4, 16, 256…. upto 10th term (Qbasic Code)
To display the series 2,4,16,256…. upto 10th term.
CLS
a = 2
FOR i = 1 TO 5
PRINT a
a = a ^ 2
NEXT i
END
Newer Post
Older Post
Home