REM Program 2
CLS
Pi=3.14
PRINT "What is the radius of the circle"
INPUT Radius
Area=Pi*Radius^2
PRINT "Area of Circle is ";Area ;" Unit sg"
END
Answers
Answered by
2
Answer:
PI = 3.14
r = float(input('Enter the radius of the circle :'))
area = PI * r * r
print("Area of the circle is : %.2f" %area)
#method 2
import math
r = float(input('Enter the radius of the circle :'))
area = math.pi * r * r
print("Area of the circle is : %.2f" %area)
Explanation:
Mark me as the brailiest
Similar questions
Computer Science,
27 days ago
Math,
27 days ago
English,
1 month ago
Physics,
8 months ago
Physics,
8 months ago