Question: I want you to write a short program that asks the user for a number that is the radius of a circle and stores that
I want you to write a short program that asks the user for a number that is the radius of a circle and stores that value in a variable of type double called radius. Then display on the screen the perimeter of a circle with that radius. In case you forgot the formula to calculate perimeter is radius or whatever approximation of Pl you want to use.Sample OutputEnter radius:Perimeter:
C
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
