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

Question 4 (1 point) / Saved A video game coder would fit within engineering, manufacturing, and technology.
A company’s shipping division (an investment center) has sales of $2,560,000, net income of $844,800, and average invested assets of $2,048,000. Compute the div
can someone answer this?
Find the value of 16-a when a =8.
Hi Tech Products has 35,000 bonds outstanding that are currently quoted at 102.3. The bonds mature in 11 years and carry a 9 percent annual coupon. What is the
for each of earth's four spheres,describe one way that the water cycle affects the sphere
Graph the linear equation by plotting the x and y intercepts x +4y -16 =0
An effective technology for e-training and e-learning is __________, which uses computer graphic displays that the user can adjust during the decision-making pr
Why were the locations marked on the map important to the early economic success of the Georgia colony?
Frank is the VP of Marketing, and his CEO has charged him with implementing a strategy that will grow the market. In order to grow the market Frank will likely