To accept length of cube and display perimeter, total surface area and volume of cube.



Answer: -
Step 1: Start
Step 2: accept length and store in L
Step 3: Calculate perimeter of cube and store in Perimeter
Step 4: Display “Your perimeter of cube is” Perimeter
Step 5: Calculate total surface area of cube and store in Area
Step 6: Display “Your total surface area of cube is” Area
Step 7: Calculate Volume of cube and store in Volume
Step 8: Display “Your Volume of cube is” Volume
Step 9: End

Comments

Post a Comment

Popular posts from this blog

To accept marks of five subject and display pass or fail ( if pass display Percentage too).

To accept two numbers and display their sum, product, difference, division.