Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: https://solutionzip.com/downloads/weight-of-water/
- Write a complete C++ program to input the length, width, and depth of a pool in feet. Compute the volume (Volume is the length times the width times the depth) and multiply this by the weight of a cubic foot of water.Checkpoints: The weight of water must be declared as a pound defined global constant; must prompt the user for each dimension separately; and, output must be one digit to the right of the decimal point.Write all necessary statements. Use no function other than main().. No arrays, no loops. (20 points)Sample run:Enter length (ft): 30.6
- Enter width (ft): 15.2
- Enter depth (ft): 8.0
- Weight: 232291.9 pounds
- Download: https://solutionzip.com/downloads/weight-of-water/
Add Comment
Please, Sign In to add comment