Question: Write a program that displays the area and perimeter of a circle that has a radius of 5.5 using the following formula: perimeter = 2
Write a program that displays the area and perimeter of a circle that has a radius of 5.5 using the following formula:
perimeter = 2 × radius × π
area = radius × radius × π
Step by Step Solution
3.39 Rating (161 Votes )
There are 3 Steps involved in it
Area and perimeter of a circle Program plan Step 1 Define the class Circle Step 2 Sto... View full answer
Get step-by-step solutions from verified subject matter experts
