Question: C++ QUESTION 6 20 po Write a program that calculates the area and volume of a cylinder. Radius and height must be entered by the

C++
QUESTION 6 20 po Write a program that calculates the area and volume of a cylinder. Radius and height must be entered by the user. The area of a cylinder is 2 times base area added to the area of the side surface. The area of the side surface is multiplication of base circumference and height. The volume of a cylinder is base area multiplied by the height. You may assume Plis 3.14. Steps: Define two double variables radius and height and prompt the user to enter values for it. Define two double variables area and volume and calculate the values and store in these variables. Print the values of area and volume on the screen. Sample output: Enter radius and height of the cylinder: 2.5 3.5 Area: 942 Volume: 68.6875 Attach File Browse My Computer Browse Content Collection Browse Dropbox
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
