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 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
Get step-by-step solutions from verified subject matter experts
