Home / Questions / Write an application that computes the area of a circle, rectangle, and cylinder. Display a menu...

Write an application that computes the area of a circle, rectangle, and cylinder. Display a menu...

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 a circle = pi * radius2 Area of a rectangle = length * width Surface area of a cylinder = 2 * pi * radius * height + 2 * pi * radius2 Write a modularized solution, which includes class methods for inputting data and performing calculations.
Not not use swtich method use while loop or if else to answer in c# format please.
Attached is the answer in c# but i want it changed not using swtich statement.

Attachments:

 

Jul 06 2020 Read more Less More

Answer (Solved)

question Subscribe To Get Solution

Recent Questions

Chat Now

Welcome to Live Chat

Welcome to MyCourseHelp Services, World's leading Academic solutions provider with Millions of Happy Students.

Please fill in the form