Question: how to write a program about the Circle Display instructions to user Define PI as a constant (3.14159) Input radius as a floating point number
how to write a program about the Circle
- Display instructions to user
- Define PI as a constant (3.14159)
- Input radius as a floating point number
- Calculate the area as PI times the radius squared
- Calculate the circumference as PI times the radius doubled
- Output the area and the circumference with labels
End
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
