Question: C# PROGRAMMING QUESTION Pie are square Instructions Write a program called CircleComputation , which prompts user for a radius as a decimal and compute the
C# PROGRAMMING QUESTION
| Pie are square | |
| Instructions | |
| Write a program called CircleComputation, which prompts user for a radius as a decimal and compute the area and circumference of the circle rounded to 2 decimal places. Allow the user to continue inputting circle radius values to produce new outputs. The output shall look like: Circle computations Enter the unit for measurements: meter Enter the radius of the circle (in meters): 1.2 For a circle of radius 1.2 meters, The area is: 4.52 square meters The circumference is: 7.53 meters Hints: is kept in a constant called Math.PI. The user input will be a string so use Convert.ToDouble(...) or Double.Parse(...) | |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
