Activity Output 1. Create a program that will calculate the volume of the chosen 3d object. 2. The program consists of a Main Menu that contains the options: 1. Sphere, 2. Cube, 3. Cuboid, 4. Cylinder, and 5. Exit. 3. "Exit" option that will exit the program. 4. After the user is finished calculating a volume, the user will have options: 1. Calculate Another Sphere, 2. Back to Main and 3. Exit. 5. "Calculate Another Sphere" will redo the sphere volume calculator, "Back to Main" will get the user back to Main Menu while "Exit" will exit the program. 6. Set output volume should be 2 decimal places. Hint: use functions Sample Source Code Activity6.rtf Sample Output Main Menu Volume Calculator 1. Sphere 2. Cube 3. Cuboid 4. Cylinder 5. Exit Choose a 3D object (Pick 1-5): Main Menu Volume Calculator 1. Sphere 2. Cube 3. Cuboid 4. Cylinder 5. Exit Choose a 3D object (Pick 1-5): 1 Calculate Sphere Volume Enter the radius: 2 Volume of Sphere: 33.49 1. Calculate Sphere Again 2. Back to Main 3. Exit Pick a choice (1-3):

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Activity Output
1. Create a program that will calculate the volume of the chosen 3d object.
2. The program consists of a Main Menu that contains the options: 1. Sphere, 2. Cube, 3. Cuboid, 4. Cylinder, and 5. Exit.
3. "Exit" option that will exit the program.
4. After the user is finished calculating a volume, the user will have options: 1. Calculate Another Sphere, 2. Back to Main and 3. Exit.
5. "Calculate Another Sphere" will redo the sphere volume calculator, "Back to Main" will get the user back to Main Menu while "Exit" will exit the program.
6. Set output volume should be 2 decimal places.
Hint: use functions
Sample Source Code
Activity6.rtf
Sample Output
Main Menu
Volume Calculator
1. Sphere
2. Cube
3. Cuboid
4. Cylinder
5. Exit
Choose a 3D object (Pick 1-5):
Main Menu
Volume Calculator
1. Sphere
2. Cube
3. Cuboid
4. Cylinder
5. Exit
Choose
a 3D object (Pick 1-5): 1
Calculate Sphere Volume
Enter the radius: 2
Volume of Sphere: 33.49
1. Calculate Sphere Again
2. Back to Main
3. Exit
Pick a choice (1-3):
Transcribed Image Text:Activity Output 1. Create a program that will calculate the volume of the chosen 3d object. 2. The program consists of a Main Menu that contains the options: 1. Sphere, 2. Cube, 3. Cuboid, 4. Cylinder, and 5. Exit. 3. "Exit" option that will exit the program. 4. After the user is finished calculating a volume, the user will have options: 1. Calculate Another Sphere, 2. Back to Main and 3. Exit. 5. "Calculate Another Sphere" will redo the sphere volume calculator, "Back to Main" will get the user back to Main Menu while "Exit" will exit the program. 6. Set output volume should be 2 decimal places. Hint: use functions Sample Source Code Activity6.rtf Sample Output Main Menu Volume Calculator 1. Sphere 2. Cube 3. Cuboid 4. Cylinder 5. Exit Choose a 3D object (Pick 1-5): Main Menu Volume Calculator 1. Sphere 2. Cube 3. Cuboid 4. Cylinder 5. Exit Choose a 3D object (Pick 1-5): 1 Calculate Sphere Volume Enter the radius: 2 Volume of Sphere: 33.49 1. Calculate Sphere Again 2. Back to Main 3. Exit Pick a choice (1-3):
Expert Solution
steps

Step by step

Solved in 4 steps with 7 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY