Dream is just like a aim so don't let others to break it down
Wednesday, 30 October 2019
Qbasic to display 1, 2, 3, 5, 8.. 13th term using Sub
DECLARE SUB SERIES ( )
CLS
CALL SERIES
END
SUB SERIES
A = 1
B = 2
FOR I = 1 TO 13
PRINT A;
C = A+B
A = B
B = C
NEXT I
END SUB
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment