2.10.1. Practice Problems: Volume Formulas
1. Cube
\[v = a^3 \]
2. Box
\[v = hlw \]
3. Sphere
\[ v = {4 \over 3} \pi r^3 \]
4. Pyramid
\[v = {1 \over 3} ah \]
Simple formula practice problems
. Convert each volume formula to a C++ statement. Use the math library symbolic constant for π.
Solutions
Back
|
Chapter TOC
|
Next