Question
C#: Write an application that computes the area of a circle, rectangle, and cylinder. Display a menu showing the three options. Allow users to input
C#: Write an application that computes the area of a circle, rectangle, and cylinder. Display a menu showing the three options. Allow users to input which figure they want to see calculated. Based on the value inputted, prompt for appropriate dimensions and perform the calculations using the following formulas: Area of circle = pi * radius ^ 2 Area of rectangle = length * width Area of cylinder 2 * pi * radius ^ 2 + 2 * pi * radius * height You will create a Windows Forms application that allows for the user to select the type of shape (rectangle, circle or cylinder) and then accept proper data and calculate the appropriate solution. Hint: a group of radio buttons will work very well along with changing the visible property of text boxes on your form. Comment your code for process communicating with clients.
We just learned about windows forms applications and I am totally lost on how to do this. Thank you in advance for any help
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