QBASIC PROGRAM TO FIND CIRCUMFERENCE OF CIRCLE USING SUB.

DECLARE SUB CIRCLE(R)
CLS
INPUT"ENTER RADIUS";R
CALL SERIES(R)
END

SUB CIRCLE(R)
C=2*22/7*R
PRINT"CIRCUMFERENCE OF CIRCLE=";C
END SUB

Comments

Popular posts from this blog

MY JOURNEY OF 11 YEARS WITH JM

Teej