subject
Engineering, 27.02.2020 20:08 ILOVEAARON39821

Define a function PyramidVolume with double parameters baseLength, baseWidth, and pyramidHeight, that returns as a double the volume of a pyramid with a rectangular base. Relevant geometry equations:Volume = base area x height x 1/3Base area = base length x base width.(Watch out for integer division).#include /* Your solution goes here */int main(void) {printf("Volume for 1.0, 1.0, 1.0 is: %.2f\n", PyramidVolume(1.0, 1.0, 1.0) );return 0;}

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
question
Engineering, 04.07.2019 18:20
Select any two (2) areas of applications of chain-drive. (clo4) a)-permanent lubrication necessary b)-hydraulic forklift truck operation c)-rigging and heavy moving materials d)-relatively high maintenance costs e)-costlier than belt drives
Answers: 2
question
Engineering, 04.07.2019 18:20
For a gate width of 2 m into the paper, determine the force required to hold the gate abc at its location.
Answers: 1
question
Engineering, 04.07.2019 19:20
A21-tooth spur pinion mates with a 28-tooth gear. the diametral pitch is 3 teeth/in and the pressure angle is 20°, find the following values: the addendum, dedendum, circular pitch, tooth thickness, and base circle diameters.
Answers: 2
You know the right answer?
Define a function PyramidVolume with double parameters baseLength, baseWidth, and pyramidHeight, tha...
Questions
question
Mathematics, 26.04.2021 04:30
question
History, 26.04.2021 04:30
question
Mathematics, 26.04.2021 04:30
Questions on the website: 13722360