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

  1. Display instructions to user
  2. Define PI as a constant (3.14159)
  3. Input radius as a floating point number
  4. Calculate the area as PI times the radius squared
  5. Calculate the circumference as PI times the radius doubled
  6. 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 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!