Answered step by step
Verified Expert Solution
Question
1 Approved Answer
project 4 python In a geometry class, you are studying interesting formulas for circles, squares, spheres, and cubes. You are writing a program to encode
project python In a geometry class, you are studying interesting formulas for circles, squares, spheres, and cubes. You
are writing a program to encode those formulas and generate accurate results.
User Interface
Input
The program asks the user for a size which will be used for radius and side length, depending on the
shape and the unit of measure being used. Example:
Enter size for side and radius:
Enter unit of measure, eg inches: inches
Output
Displays an attractive and aligned report with all the results, as shown below. Note that the numbers here
are merely samples and are intentionally incorrect; you will need to figure out what is right here!
Square Calculations
Perimeter: linear inches
Area: square inches
Cube Calculations
Volume: cubic inches
Surface area: square inches
Circle Calculations
Circumference: linear inches
Area: square inches
Sphere Calculations
Volume: cubic inches
Surface area: square inches
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