QBASIC PROGRAM TO PRINT FIRST 10 ODD NUMBER USING SUB.

DECLARE SUB DISPLAY()
CLS
CALL DISPLAY
END

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

Comments

Popular posts from this blog

MY JOURNEY OF 11 YEARS WITH JM

Teej