Question: 1. Write the algorithm and the C++ code that calculates and prints the cylindrical volume of the water in the tank, shown in Figure 1.

 1. Write the algorithm and the C++ code that calculates and

1. Write the algorithm and the C++ code that calculates and prints the cylindrical volume of the water in the tank, shown in Figure 1. The height of the water level can be given by the user and the radius of the tank is known, =2 meters. Notice: the volume of the cylinder shape is: V=r2h The value of is =3.14159 Figure 1: Cylindrical Water Tank

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!