Question: Design pseudocode for a program (name it Cylinder) to compute the volume of a cylinder using the following formulas (PI is 3.14): Area = radius

Design pseudocode for a program (name it Cylinder) to compute the volume of a cylinder using the following formulas (PI is 3.14):
Area = radius * radius * PI
Volume = area * length
The program reads the radius and length from the user and then computes the volume.
Sample run 1:
Enter radius: 5.5
Entered length: 12
The Volume is 1139.82
Sample run 2:
Enter radius: 1.0
Entered length: 1.0
The Volume is 3.14
Sample run 3:
Enter radius: 6.5
Entered length: 10.0
The Volume is 1326.65

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!