Answered step by step
Verified Expert Solution
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
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
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