write a short program that takes user input for the length of width of a rectangle and prints the area

Question:

Current behavior:

Desired behavior

Repl link:

code snippet

Welcome to Ask! Can you clarify the language you are using and perhaps provide the link to your Repl? Also is this a school assignment? If it’s a school assignment we can only give hints not full help.