Define a method calcPyramidVolume with double data type parameters baseLength, baseWidth, and pyramidHeight, that returns as a double the volume of a pyramid with a rectangular base. calcPyramidVolume() calls the given calcBaseArea() method in the calculation.Relevant geometry equations:Volume = base area x height x 1/3Base area = base length x base width.(Watch out for integer division).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here