Added the Rectangular Solid program

This commit is contained in:
vnakonechnyi 2024-12-21 20:45:14 -05:00
parent 30db79534a
commit 4a26644b9d

8
rectanglar-solid01.py Normal file
View file

@ -0,0 +1,8 @@
length = float(input("Enter a value for length "))
width = float(input("Enter a value for width "))
height = float(input("Enter a value for height "))
volumeOfRectangle = length * width * height
print(f"Area = {volumeOfRectangle:.2f}")