Problem Write pseudocode for a program that calculates the s

Problem

Write pseudocode for a program that calculates the surface area of a cylinder. Think of a soda can and how much wrapping paper it would take to cover it including the top and the bottom. For this one Im not going to give you the formula but instead you should look it up on the internet. Make sure this program would work for any sized cylinder (this means it should get input from the user). The program should display the area of the cylinder the user entered information for on the screen.

Solution

To calculate the surface area of cylinder tank of find how much wrapping paper it would require to cover up.

Here is the flowchart of the program to calculate the surfce area of Cylinder.

Pseudo code is a simple way of writing programming code in English. It is not actual programming language. It uses short phrases to write code for programs before create in specific language.

Pseuocode of the program to calculate the surface area of the Cylinder

Step 1: Start

Step 2: Read radius, height and value of pi

Step 3: Compute the product of 3.14(pi) and radius then add height and radius

Surface area of Cylinder = 2*22/7*radius*(height+ radius)

Step 4: Set the result to surface area

Step 5: Set the result to temp

Step 6: Display surface area of cylinder

Step 7: Stop

Problem Write pseudocode for a program that calculates the surface area of a cylinder. Think of a soda can and how much wrapping paper it would take to cover it

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site