Question: * * * * * * * * * Welcome to my Java OO Shapes Program * * * * * * * * *

*********Welcome to my Java OO Shapes Program **********
Select from the menu below:
1. Construct a Circle
2. Construct a Rectangle
3. Construct a Square
4. Construct a Triangle
5. Construct a Sphere
6. Construct a Cube
7. Construct a Cone
8. Construct a Cylinder
9. Construct a Torus
10. Exit the program
Enter your choice: 9
You have selected a Torus
Enter the major radius: 4
Enter the minor radius:
4
The volume of the Torus is 1263.31.
Would you like to continue? (Y or N) n
Sorry, I do not understand what you entered. Enter Y or N:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!