##### Question

# C#: Write an application that computes the area of a circle, rectangle, and cylinder.

Question: Write an application that computes the area of a circle, rectangle, and cylinder. Display a menu showing the three options. Allow users to inputwhich figure they want to see calculated. Based on the value inputted, prompt for appropriate dimensions and perform the calculations using the followingformulas:

Area of circle = pi * radius ^ 2

Area of rectangle = length * width

Area of cylinder 2 * pi * radius ^ 2 + 2 * pi * radius * height

Write a modularized solution, which includes class methods for inputting data and performing calculations. (hint: you will work everything inside the same classwhere the Main is located).

I assume I'd have to create three classes, but beyond that I'm not sure about how to proceed.

## Solutions

##### Expert Solution

No answers