Answer:
Correct algorithm is here.
1) Display to the user "What is the room’s width?".
2) Input width.
3) Display to the user "What is the room’s length?".
4) Input length.
5) area = width × length.
6) Display area.
Step-by-step explanation:
The algorithm given in the question is wrong because we can not perform any operation on the variable before taking their value.It will give error.
According to the question,it will calculate area first then it will take input value of length and width.But we have to take input length and width first then we can find the area.