# Volume of box. (function)

DECLARE FUNCTION VOL(l,b,h)
CLS
INPUT "Enter length ";l
INPUT " Enter breadth ";b
INPUT " Enter height ";h
PRINT "Volume of a box =";VOL(l,b,h)
END

FUNCTION VOL(l,b,h)
V=l*b*h
VOL=V
END FUNCTION

Comments

Popular posts from this blog