Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started