Monday, October 21, 2019

Program to print first 10 odd numbers using SUB

DECLARE SUB DISPLAY()
CLS 

CALL DISPLAY
END

SUB DISPLAY()
A=1
FOR I= 1 TO 10
PRINT A
NEXT I
END SUB

No comments:

Post a Comment

My journey of Jagat Mandir School

13 Years of ExperiencE It is also said that school is next home of every child. "failing and learning" Teacher are like gods....