Question
Can't figure out a code to output this with input ( B 12.35 2.85 6.14 d -5 0 2.5 -1 0 -6 6.8 C -5
Can't figure out a code to output this with input ( B 12.35 2.85 6.14 d -5 0 2.5 -1 0 -6 6.8 C -5 0 -1 6.25 8 F) In C++
Find the Volume (all measurements are in inches)
A. Sphere
B. Rectangular Prism
C. Cylinder
D. Cone (right circular)
E. Square pyramid
F. Exit
Pick a shape to find a volume: Enter the length: Enter the width: Enter the height: The volume of a rectangular prism that is 12.35 X 2.85 X 6.14 is 216.11
Find the Volume (all measurements are in inches)
A. Sphere
B. Rectangular Prism
C. Cylinder
D. Cone (right circular)
E. Square pyramid
F. Exit
Pick a shape to find a volume:
Enter the radius: Number must be positive!!! Try Again
Enter the radius: Number must be positive!!! Try Again
Enter the radius: Enter the height: Number must be positive!!! Try Again
Enter the height: Number must be positive!!! Try Again
Enter the height: Number must be positive!!! Try Again
Enter the height: The volume of a cone with radius 2.50 and height 6.80 is 44.51
Find the Volume (all measurements are in inches)
A. Sphere
B. Rectangular Prism
C. Cylinder
D. Cone (right circular)
E. Square pyramid
F. Exit
Pick a shape to find a volume: Enter the radius: Number must be positive!!! Try Again Enter the radius: Number must be positive!!! Try Again Enter the radius: Number must be positive!!! Try Again Enter the radius: Enter the height: The volume of a cylinder with radius 6.25 and height 8.00 is 981.75 Find the Volume (all measurements are in inches)
A. Sphere
B. Rectangular Prism
C. Cylinder
D. Cone (right circular)
E. Square pyramid
F. Exit
Pick a shape to find a volume:
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