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

What type of weather is associated with this symbol L
When copper is hammered into a sheet what type of change has the matter gone through?
What is the average of something (mean or mode) I really need to know I forgot what the difference was ho
What is square root of 81
What type of weather is associated with this symbol L
What was the role of the proprietors in the middle colonies
how do I solve this problem? mars rotates on its axis at the rate of . 2552 rad/hr how many hours are in a martian day?
How much times does 7 go into 17?
What is 155% as a mixed number?
How to write 4/50 as a decimal