Added the Rectangular Solid program

main
vnakonechnyi 2024-12-21 20:45:14 -05:00
parent 30db79534a
commit 4a26644b9d
1 changed files with 8 additions and 0 deletions

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}")