Upload files to "/"

This commit is contained in:
Jonathan A. Rivera 2025-05-14 12:20:22 -04:00
commit 9841335fae
5 changed files with 80 additions and 0 deletions

17
rectangular-solid01.py Normal file
View file

@ -0,0 +1,17 @@
# Program rectanglar-solid.py
startUpMessage = '''
This program calculates the volume of a rectangular solid.
'''
print(startUpMessage)
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"Volume = {volumeOfRectangle:.1f}")
print("\n")