Monday, October 21, 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 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....