Wednesday, October 2, 2019

10) Print first 10 odd number (SUB)

DECLARE SUB  SERIES ( )
CLS
CALL SUB SERIES
END

SUB SERIES ( )
A = 1
FOR I = 1 TO 10
PRINT A
A = A + 2
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...