# Step 1: Define the main function
def main():
# Step 2: Get input from the user
length = float(input(“Enter the length of the rectangle: “))
width = float(input(“Enter the width of the rectangle: “))
# Step 3: Calculate the area
area = length * width
# Step 4: Display the result
print(“The area of the rectangle is:”, area)
# Step 5: Run the program by calling the main function
main()