
Develop the program calculatePipeArea. It computes the surface area of a pipe, which is an open cylinder. The program accpets three values: the pipes inner radius, its length, and the thickness of its wall.

Hello Friend,
Is the pipe is open from both ends?Please clarify whether the pipe is a hollow cylinder. According to that, we have to use the formula.
Thanks

Hello Friend,
Is the pipe is open from both ends?Please clarify whether the pipe is a hollow cylinder. According to that, we have to use the formula.
Thanks

yes, it is a hollow cylinder(open from both the sides)