Search This Blog

Wikipedia

Search results

Tuesday, October 1, 2019

QBASIC PROGRAM TO FIND AREA OF TRIANGLE. FUNCTION

DECLARE FUNCTION AREA(B,H)
CLS
INPUT "ENTER BASE";B
INPUT "ENTER HEIGHT";H
PRINT "AREA OF TRIANGLE=";AREA(B,H)
END

FUNCTION AREA(B,H)
AREA= 1/2*B*H
END FUNCTION

No comments:

               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...