Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 1 1. Create a program that allows users to work with geometric shapes. 2. Create a class that: 1. Asks the user which

image

Task 1 1. Create a program that allows users to work with geometric shapes. 2. Create a class that: 1. Asks the user which shape they'd like to work with 2. Accepts input from the user 3. Displays the results of the appropriate calculations to the user 4. Allows the user to repeat the task as often as they'd like Task 2 1. Create a program that allows users to convert temperatures between Fahrenheit and Celsius. 2. Create a class that: a. Asks the user what type of conversion they'd like to perform b. Accepts input from the user c. Displays the results of the conversion to the user d. Allows the user to repeat the task Formulas: Circle A = PI* radius * Radius P = 2 * PI* radius Rectangle A = length * width P=2*(length + width) Triangle S (s1 s2 s3)/2 A = SQRT(s*(s-s1)*(s-s2)*(s-s3)) P=s1 + s2+ s3 P=s1 + s2+ s3 Temperature Conversions F 9/5* C+32 C = 5/9 * (F-32)

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

Java Programming

Authors: Joyce Farrell

9th edition

1337397075, 978-1337397070

More Books

Students also viewed these Programming questions

Question

Draw a picture consisting parts of monocot leaf

Answered: 1 week ago