#  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

Comments

Popular posts from this blog