Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need this program to be Written In JAVA please and thank you! Display a list of choices as follows: 1. Area of a circle.

image text in transcribed

I need this program to be Written In JAVA please and thank you!

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

Step: 3

blur-text-image

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions