Question: 5. Write a program that asks the user to enter the radius of a circle and then computes and displays the circle's area. Radius

5. Write a program that asks the user to enter the radius of a circle and then computes and displays the 

5. Write a program that asks the user to enter the radius of a circle and then computes and displays the circle's area. Radius cannot be an integer value. Use the formula Area= PI * Radius * Radius Where PI is the constant macro 3.14159.

Step by Step Solution

3.44 Rating (144 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import math radius floatinputEnter the radius of the circle area mathpi radius 2 printThe a... 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!