Question: in C++ please. Write a C++ program that: (a) neulates the volume and area of a cylinder tusing following formulas Volume = ar 2 Area
in C++ please. Write a C++ program that: (a) neulates the volume and area of a cylinder tusing following formulas Volume = ar 2 Area = 2xrh+2x where r and h are floating point numbers represents the radius and height of a cylinder respectively. (b) create variables area and volume and store the results in them. (e) output the results with two digit after the decimal point using the format shown the sample output. (d) se pow function for calculate power. Sample Output Input radius and height of the cylinder in inches: 5.2 8.1 Volume: 688.08 cubic inches Surface area: 434.55 square inches
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
