Question: this is C++ 3. (Lastname_Lab2_p3.cpp) Write a program that displays the following prompts: Enter the length of the swimming pool (ft) Enter the width of

this is C++

 this is C++ 3. (Lastname_Lab2_p3.cpp) Write a program that displays the

3. (Lastname_Lab2_p3.cpp) Write a program that displays the following prompts: Enter the length of the swimming pool (ft) Enter the width of the swimming pool (ft) Enter the average depth of the swimming pool (ft): After each prompt is displayed, your program should use acin to accept swimming pool is entered, your program should calculate and display the volume of the pool (volume-length * width * average depth) Convert the volume from cubit foot to gallon using the equation volume in gallons = volume in cubic foot * 7.48; Assume the price of resident water is $2.56 per 1000 gallons, calculate and display the water cost of the swimming pool

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!