Surface Area of Cuboid || Geometric Program || Python

In this we are going to see a basic program to calculate surface area of cuboid in Python Programming Language.


length = float(input('Please Enter the Length of a Cuboid: '))
width = float(input('Please Enter the Width of a Cuboid: '))
height = float(input('Please Enter the Height of a Cuboid: '))

# Calculate the Surface Area
SA = 2 * ((length * width) + (length * height) +( width * height))

print("\n The Surface Area of a Cuboid = %.2f sq units" %SA)

#Code by Shrinivas


#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post