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

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 Databases Questions!