Question: Write a program that allows the user to enter the radius and height of a cylinder. The program then calculates and outputs the volume and

Write a program that allows the user to enter the radius and height of a cylinder. The program then calculates and outputs the volume and surface area of the cylinder. Volume of a cylinder =\pi r2h Surface area =2\pi rh +2\pi r2, where r represents the radius and h the height. (Use 3.14159 for \pi )

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!