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

Can anyone Help me please idk
The Red Scare was a response to a. Prohibition. b. the Teapot Dome scandal. c. the Russian Revolution. d. the Kellogg-Briand Pact.
which principle does the U.S. supreme court apply when it declares an act of congress unconstitutional
Which one of the following statements holds true for the induced-fit model? Once the enzyme binds to the specific substrate molecule, no structural changes can
a car with a mass of 1200 kg is moving around a circular curve at a uniform velocity of 20 meters per second. the centripetal force on the car is 6000 newtons.
What does seditious speech target?
Many people believe “that storks symbolize good luck” and welcome storks nests on their chimneys. A) Independent clause B) Adjective clause C) Adverb clause D)
Mechanical....... to Heat (Thermal) Light Sound Chemical to… Electrical Heat (Thermal) Light Sound Electrical to… Electrical Heat (Thermal) Light Sound EXAPMLE
Why did labor change during the industrial revolution
The attitude the author or narrator has toward the subject matter is known as the __________. motif language tone theme