Write a program that prompts the user for a radius and then prints the diameter, circumference, and the area of a circle with that radius. Use 3.14159 for the value of pi. Hint: After your program...


Write a program that prompts the user for a radius and then prints<br>the diameter, circumference, and the area of a circle with that radius.<br>Use 3.14159 for the value of pi.<br>Hint: After your program gets the radius, convert it to a floating point using the float() function.<br>Below is a sample run with Python output in blue and user input in black. The user should be able to type any radius.<br>Enter radius:2.5<br>Diameter 5.0<br>Circumference 15.70795<br>Area 19.6349375<br>

Extracted text: Write a program that prompts the user for a radius and then prints the diameter, circumference, and the area of a circle with that radius. Use 3.14159 for the value of pi. Hint: After your program gets the radius, convert it to a floating point using the float() function. Below is a sample run with Python output in blue and user input in black. The user should be able to type any radius. Enter radius:2.5 Diameter 5.0 Circumference 15.70795 Area 19.6349375

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here