QBASIC PROGRAM TO FIND AREA OF BOX USING FUNCTION.
DECLARE FUNCTION ARE (L,B,H)
CLS
INPUT"ENTER LENGTH";L
INPUT"ENTER BREADTH";B
INPUT"ENTER HEIGHT";H
PRINT"ARE OF BOX=";AREA(L,B,H)
END
DECLARE FUNCTION(L,B,H)
VA=(2(LH+BH+LB))
AREA=A
END FUNCTION
DECLARE FUNCTION ARE (L,B,H)
CLS
INPUT"ENTER LENGTH";L
INPUT"ENTER BREADTH";B
INPUT"ENTER HEIGHT";H
PRINT"ARE OF BOX=";AREA(L,B,H)
END
DECLARE FUNCTION(L,B,H)
VA=(2(LH+BH+LB))
AREA=A
END FUNCTION
Comments
Post a Comment