6.Mary needs towrite a program to calculate the volume of a cylinder. To calculate the volume,Mary
needs to use the following formula:
Volume = r2h
Here, r is the radius of the cylinder, h is the height of the cylinder,and the value of pie ()is 3.14.
Help Mary to perform the desired task.
Ans.
No comments:
Post a Comment