Added the Rectangular Solid program
This commit is contained in:
parent
30db79534a
commit
4a26644b9d
1 changed files with 8 additions and 0 deletions
8
rectanglar-solid01.py
Normal file
8
rectanglar-solid01.py
Normal 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}")
|
Loading…
Add table
Add a link
Reference in a new issue