Question: 02 Write a C++ program that calculates the volume of a Rectangular prism that has 2 parallel rectangular bases and 4 rectangular faces. The main
02 Write a C++ program that calculates the volume of a Rectangular prism that has 2 parallel rectangular bases and 4 rectangular faces. The main function asks the user to input B (e. base length of the rectangular prism, L(ie the base width of the rectangular prism) and Hie, the height of the rectangular prism). Then the main function calls another function to calculate the volume of that Rectangular prism. Finally, the main function displays the volume of the Rectangular prism. Recall that volume = xH ME
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
