Write a qbasic program to calculate area and circumference of circle
Answers
Answered by
9
Program:
CLS
LET pie = 3.14
INPUT "Enter radius of circle"; r
area= pie * r ^ 2
cf = 2 * pie * r
PRINT "The area of the circle is"; area
PRINT "The circumference of the circle is"; cf
END
Similar questions
Math,
1 month ago
Math,
1 month ago
Math,
3 months ago
Accountancy,
10 months ago
Math,
10 months ago