Write a program that reads in the radius and length of a


Please expalin each line of code.

Write a program that reads in the radius and length of a cylinder and computes the area and volume using the following formulas:

1. Bottom area = Radius * Radius * 3.14

2. Cylinder Volume = Bottom Area * Length

3. Cylinder area = (2 * Radius * 3.14 * Length) + (2 * Bottom area)

Your program should prompt the user to enter the radius and length of a cylinder.

The program should output the length and radius of the cylinder along with the area and volume of the cylinder. Limit the output values to two decimal places.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a program that reads in the radius and length of a
Reference No:- TGS02888732

Expected delivery within 24 Hours