Question: write a program to generate a random floating point number between 1 and 100 which will be used as the radius of a circle. In

write a program to generate a random floating point number between 1 and 100 which will be used as the radius of a circle. In a separate function, calculate the area of a circle based on the radius your program just generated and return it to the main function. In the main function, display the radius and the area.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a Python program that generates a random floatingpoint number as the radius of a c... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!