QBASIC PROGRAMMING
*WAP TO FIND AREA OF CIRCLE. (SUB)
DECLARE SUB CIR (R)
CLS
INPUT" Enter radius ";R
CALL CIR (R)
END
SUB CIR (R)
A= 22/ 7* R ^ 2
PRINT "area of circle"; A
END SUB
Comments
Post a Comment