Q BASIC PROGRAM TO FIND AREA OF BOX. FUNCTION
DECLARE FUNCTION AREA(L,B,H)
CLS
INPUT "ENTER LENGTH";L
INPUT "ENTER BREADTH";B
INPUT "ENTER HEIGHT";H
PRINT "AREA OF BOX";AREA(L,B,H)
END
FUNCTION AREA(L,B,H)
AREA = 2*(L*B+B*H+L*H)
END FUNCTION
Search This Blog
Wikipedia
Search results
Tuesday, October 1, 2019
Subscribe to:
Post Comments (Atom)
Journey of Jagat Mandir H. S. School When I was at the age of three I joined the school in the village. When I came to K...
-
Journey of Jagat Mandir H. S. School When I was at the age of three I joined the school in the village. When I came to K...
-
QBasic program to count total no of consonant in given word. FUNCTION DECLARE FUNCTION COUNT(N$) CLS INPUT "ENTER ANY STRING&q...
-
Q BASIC PROGRAM TO FIND AREA OF BOX. FUNCTION DECLARE FUNCTION AREA(L,B,H) CLS INPUT "ENTER LENGTH";L INPUT "ENTER BREAD...
No comments:
Post a Comment