Display

1,1,2,3,5,8.........up to 10th term

CLS
A = 1
B = 1
 FOR I = 1 TO 10
PRINT  A
C = A + B
A = B
B = C
NEXT I
END

Comments

Popular posts from this blog