Question
Design (pseudocode) and implement (source code) a program (name it Cylinder) to compute the volume of a cylinder using the following formulas (PI is 3.14):
Design (pseudocode) and implement (source code) 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. Document your code and properly label the input prompts and the outputs as shown below.
Sample run 1:
Enter radius: 5.5
Entered length: 12
The Volume is 1139.82
When creating the pseudocode can you follow these guidelines Use upper case for all reserved words. All statements inside loops condition statement are to be indented, Variables are used to store data. To assign a value to a variable use ,A single line of instructions READ the next grade PRINT 'Hello!',
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started