27. Write a program to display total surface area and volume of cylinder.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Algorithm:

Step 1: Start

Step 2: Input Radius and Height (R, H)

Step 3: A = 2 * 3.14 * R * ( R + H )

Step 4: V = 3.14 * R ^ 2 * H

Step 5: Print “ Total Surface Area of Cylinder “ A

Step 6: Print “ Volume Of Cylinder “ V

Step 7: Stop/ End

Flowchart:

Create a flowchart to display total surface area and volume of cylinder.
Create a flowchart to display total surface area and volume of cylinder.
Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

26. Write a program to display area of circle.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Next Post

28. Write a program to ask the user to enter the marks in any four subject and display whether the user is pass or fail.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Related Posts