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

Algorithm:

Step 1: Start

Step 2: Input length, breadth and height of cuboid (l, b, h)

Step 3: A = 2 * ( l * b + b * h + h * l)

Step 4: V = l * b * h   

Step 5:  Print ”Total Surface Area Of Cuboid is” A

Step 6: Print “Volume Of Cuboid is ” V

Step 7: Stop/End

Flowchart:

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

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

Previous Post

2. Write a python program to display area of 4 walls. (Java, Python, JavaScript, QBasic, C, Go, c++, C#, Ruby)

Next Post

4. Write a program to display total surface area of cube.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Related Posts