The formula for the area of a circle is piR2, where R is the radius of the circle. Write a program to compute the area of a circle.
Modify your program for the previous question to calculate the volume of any cylinder after asking the user to input R and H, where h is the height of this cylinder. V=piR2H.