Question: Java Ask the user for the width, depth, and shape of each pool. If they input -1 for width or length stop asking and print

Java

Ask the user for the width, depth, and shape of each pool. If they input -1 for width or length stop asking and print the pools with the information they have input.

Have it print

Question

telling them if they input -1 it will print out what they have filled in

ask depth

ask width

ask shape

repeat till they enter -1 for depth or width then print out the shape length and width of each pool printing on a new line for each pool

Use an arraylist to make the program.

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 Databases Questions!