Wednesday, October 2, 2019

19) AREA OF 4 WALLS (FUNCTION)

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

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

No comments:

Post a Comment

My Journey with JM

MY JOURNEY WITH JAGAT MANDIR It has been almost 10 years since I have entered this school. It seems like just yesterday but now I...