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

Comments

Popular posts from this blog

MY JOURNEY OF 11 YEARS WITH JM

Teej