Corrected text seen by the user

This commit is contained in:
jdavilabeaz2401 2025-11-26 13:45:05 -05:00
parent 9871aa99f3
commit c20afad63b
2 changed files with 6 additions and 6 deletions

View file

@ -1,8 +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 "))
length = float(input("Enter a value for the length "))
width = float(input("Enter a value for the width "))
height = float(input("Enter a value for the height "))
volumeOfRectangle = length * width * height
print(f"Area = {volumeOfRectangle:.1f}")
print(f"Volume = {volumeOfRectangle:.1f}")

View file

@ -1,6 +1,6 @@
length = float(input("Enter a value for length "))
width = float(input("Enter a value for width "))
length = float(input("Enter a value for the length "))
width = float(input("Enter a value for the width "))
areaOfRectangle = length * width