Complete the following program skeleton so it displays the volume of a cylindrical fuel tank. The formula for the volume of a cylinder is
Volume = π r 2s h
where
π is 3.14159
r is the radius of the tank
h is the height of the tank
#include <iostream>#include <cmath>using namespace std;int main( ){ double volume, radius, height; cout ≪ "This program will tell you the volume of\n"; cout ≪ "a cylinder-shaped fuel tank.\n"; cout ≪ "How tall is the tank? "; cin ≫ height; cout ≪ "What is the radius of the tank? "; cin ≫ radius; // You must complete the program.}
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.