Computer Science, asked by sharmajogendra93, 3 months ago

Write a qbasic program to calculate area and circumference of circle​

Answers

Answered by Anonymous
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