Computer Science, asked by maheshkumar000002121, 1 month ago

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 davnit7607
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