Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help writing this program Display a list of choices as follows: 1. Area of a circle. 2. Area of a rectangle. 3. Area of

image text in transcribed

Need help writing this program

Display a list of choices as follows: 1. Area of a circle. 2. Area of a rectangle. 3. Area of a square. 4. Area of a triangle. Prompt the user to select one of the choices. If the user enters a value other than 1-4 print an error message. Using a switch statement to determine which shape was chosen, prompt the user to enter the required dimensions, and calculate the area. If the area is less than 100 print a message saying it is a small circle, rectangle, square, or triangle. If the area is equal to 100 then print a message saying it is an average size circle, rectangle, square, or triangle. If the area is greater than 100 then print a message saying it is a large size circle, rectangle, square, or triangle

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions

Question

find all matrices A (a) A = 13 (b) A + A = 213

Answered: 1 week ago

Question

understand the meaning of the terms discipline and grievance

Answered: 1 week ago