Wednesday, October 2, 2019

15) DISPLAY 1,1,2,3,5,8......UP TO 10 TERMS (SUB)

DECLARE SUB SERIES ( )
CLS
CALL SERIES
END

SUB SERIES ( )
A= 1
B= 1
FOR I= 1 TO 5
PRINT A
PRINT B
A= A+B
B= A+B
NEXT I
END SUB

No comments:

Post a Comment

My Journey with JM

MY JOURNEY WITH JAGAT MANDIR It has been almost 10 years since I have entered this school. It seems like just yesterday but now I...