sharonc33531 sharonc33531
  • 25-11-2020
  • Computers and Technology
contestada

Define a method pyramidVolume with double parameters baseLength, baseWidth, and pyramidHeight, that returns as a double the volume of a pyramid with a rectangular base.

Respuesta :

tonb
tonb tonb
  • 25-11-2020

Answer:

double pyramidVolume(double baseLength, double baseWidth, double pyramidHeight)

{

  return baseLength * baseWidth * pyramidHeight / 3.0;

}

Answer Link

Otras preguntas

On a bike trip across the United States Rodney notes that he covers about 190 miles every 4 days. If he continues at this rate use a ratio table to determine ab
Canada has a population that is about 1/10 as large as United States. If Canada population is about 32 million, about how many people live in the United States?
2r^2+3s^3-r2+4t^2-r2
How to simplify (1-3)^2
Five possible negative effects of crime in your community.
Which structures are found in both prokaryotic cells and eukaryotic cells? Choose all answers that are correct. A. cytoplasm B. flagella C.
How is government and social contract connected
Suzi has 5 equal bottles that are each 3/4 full of lotion. How many bottles does Suzi have if she combines all of her lotion
What is a integer number but not a whole number? A. - 9.6B. - 4C. 0D. 3.7
Jake drops a book out of a window from a height of 10 meters. At what velocity does the book hit the ground?