Search This Blog

Tuesday, October 22, 2019

Program to find circumference of circle using SUB

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

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

No comments:

Post a Comment

My journy with Jagat Mandir

10 years of journy with JM it was the most important day of my life i spend my 10 years with this school . I am so happy that i could spend...