Question: C++ based program Task: Write a simple program based on the use of FUNCTIONS to calculate the VOLUME and SURFACE AREA of a cylinder. The

 C++ based program Task: Write a simple program based on the

C++ based program Task: Write a simple program based on the use of FUNCTIONS to calculate the VOLUME and SURFACE AREA of a cylinder. The program should have TWO functions. The program should ask the user to enter the radius and the height of the cylinder. volume= pi x radius, height Total Surface Are--(pi radius.) +2 pi radius height After finishing the calculations the program should ask the user if he wants to run the calculations again [Y, N] and repeat itself until the user chooses N. Your output should be: Enter the radius of the cylinder: Enter the height of the cylinder: Area = 169.56 Uolune = 169.56 Do you want to perfor another calculations Y.N1

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!