From 935cecbb7f6539ee922a0431a862e816a472a7af Mon Sep 17 00:00:00 2001 From: jdavilabeaz2401 Date: Wed, 26 Nov 2025 13:40:24 -0500 Subject: [PATCH] Added the Rectangular Solid program --- rectanglar-solid01.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 rectanglar-solid01.py diff --git a/rectanglar-solid01.py b/rectanglar-solid01.py new file mode 100644 index 0000000..4aaa83c --- /dev/null +++ b/rectanglar-solid01.py @@ -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}") \ No newline at end of file