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++

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
Get step-by-step solutions from verified subject matter experts
