Write a program to find the area of a circle by getting radius from the user?
Answers
Answered by
2
Answer:
STEP 1: Take radius as input from the user using std input. STEP 2: Calculate the area of circle using, area = (3.14)*r*r STEP 3: Print the area to the screen using the std output.
Answered by
3
Python Program:
r = float(input("Enter the radius of the circle: "))
print("Area of the circle =", 3.14 * (r * r))
Similar questions
World Languages,
1 month ago
Math,
1 month ago
Biology,
1 month ago
Physics,
4 months ago
India Languages,
4 months ago
English,
10 months ago
Math,
10 months ago