From 97e1f1f3d8d65ca2c5925eafd3ab9a58cca0d972 Mon Sep 17 00:00:00 2001 From: cmitchell2301 Date: Sun, 14 Dec 2025 18:51:38 -0500 Subject: [PATCH] Added the Rectangular Solid program --- homework06/git-practice/rectanglar-solid01.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 homework06/git-practice/rectanglar-solid01.py diff --git a/homework06/git-practice/rectanglar-solid01.py b/homework06/git-practice/rectanglar-solid01.py new file mode 100644 index 0000000..4aaa83c --- /dev/null +++ b/homework06/git-practice/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