Question: C++ Write a program that reads in the radius and length of a cylinder and computes the area of a base and volume using the

C++

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

area = radius * length

A. Assume PI is 3.14159

B: Sample run:

Enter the radius and length of a cylinder: 5.5 12

The area of a base is 95.0331

The volume is 1140.4

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!