Search This Blog

Tuesday, October 22, 2019

Program to find area of box using FUNCTION

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

FUNCTION AREA(L,B,H)
A=2*(L*B+B*H+L*H)
AREA=A
END FUNCTION

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