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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started