Answer:
The order of the code is wrong
Step-by-step explanation:
In programming, you should take into account the order in which you write the lines, because the computer proccesses them in that exact order. So, if you are calculating the area before width and length are given, the computer couldn´t know what to do.
You must change the order:
"what is the room's width?"
input width
"what is the room's length?"
input length
area= width x length
display area