Write a programme that prompts the user for a radius and then prints . a)the area and circumference of a circle with that radius . b) the volume and surface area of a sphere with that radius
Answers
Answered by
1
- #Program
- r=int(input("ENTER THE RADIUS::"))
- print("area of circle is ::", 3.14*r**2)
- print("circumference of circle is ::", 2*3.14*r)
- print("RADIUS IS::", r)
- print(" volume of a sphere::",4/3*3.14*r**3)
- print("surface area of a sphere::",4*3.14*r**2)
Similar questions
Math,
2 months ago
Computer Science,
2 months ago
Science,
6 months ago
History,
11 months ago
Math,
11 months ago