AREA OF 4WALLS (FUN)
DECLARE FUNCTION AREA (L,B,H)
CLS
INPUT"ENTER LENGTH";L
INPUT"ENTER BREATH";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)
A=AREA
END FUNCTION
CLS
INPUT"ENTER LENGTH";L
INPUT"ENTER BREATH";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)
A=AREA
END FUNCTION
Comments
Post a Comment