Problem

(Program) The volume of oil stored in an underground 200-foot deep cylindrical tank is d...

(Program) The volume of oil stored in an underground 200-foot deep cylindrical tank is determined by measuring the distance from the top of the tank to the surface of the oil. Knowing this distance and the radius of the tank, the volume of oil in the tank can be determined by using this formula:

volume = π radius 2 (200 - distance)

Using this information, write, compile, and run a C++ program that determines the volume of oil in a 200-foot tank that has a radius of 10 feet and measures 12 feet from the top of the tank to the top of the oil. Your program should display the radius, distance from the top of the tank to the oil, and the calculated volume.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 3.3