Monday, September 30, 2019

QBASIC PROGRAM TO FIND AREA OF CIRCLE USING SUB PROCEDURE.


DECLARE SUB AREA (R)
CLS
INPUT “ENTER RADIUS”; R
CALL AREA (R)
END

SUB AREA (R)
A = 22 / 7 * R ^ 2
PRINT “AREA OF CIRCLE = “;A
END SUB

No comments:

Post a Comment

Experience of COVID-19 and the cancellation of SEE.

As we know, that this pandemic disease has started from the Wuhan district of China. This viruswvirus discovered out on 31st December 2019 ...