22) VOLUME OF BOX.(FUNCTION)
DECLARE FUNCTION VOLUME (L, B, H)
CLS
INPUT " ENTER LENGTH "; L
INPUT " ENTER BREADTH " ; B
INPUT " ENTER HEIGHT "; H
PRINT " VOLUME OF BOX "; VOLUME (L, B, H)
END
FUNCTION VOLUME (L, B, H)
V= L * B * H
VOLUME = V
END FUNCTION
0 comments