Added the Rectangular Solid program
parent
30db79534a
commit
4a26644b9d
|
@ -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}")
|
Loading…
Reference in New Issue