(General math) Using Program, complete the following chart by determining the volume of cylinders having these radii and heights:
Radius (in) | Height (in) | Volume |
1.62 | 6.23 |
|
2.86 | 7.52 |
|
4.26 | 8.95 |
|
8.52 | 10.86 |
|
12.29 | 15.35 |
|
// This program calculates the volume of a cylinder,// given its radius and height#includeusing namespace std;int main(){double radius, height, volume;radius = 2.5;height = 16.0;volume = 3.1416 * radius * radius * height;cout << "The volume of the cylinder is " << volume << endl;return 0;}
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.