Monday, October 21, 2019

Program to find volume of box using FUNCTION

DECLARE FUNCTION VOL(L,B,H)
CLS
INPUT"ENTER LENGTH";L
INPUT"ENTER BREADTH";B
INPUT"ENTER HEIGHT";H
PRINT"VOLUME OF BOX=";VOL(L,B,H)
END

FUNCTION VOL(L,B,H)
V=L*B*H
VOL=V
END FUNCTION

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....