The Beaverhotel has 5 floors with 8 rooms each.
The robot that cleans them follows the in...
![subject](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 09.04.2020 07:31 sherlyngaspar1p9t3ly
The Beaverhotel has 5 floors with 8 rooms each.
The robot that cleans them follows the instructions below:
Letter C: look for any uncleaned room on your floor and clean it,
Letter U: go up one floor,
Letter D: go down one floor,
A number n followed by round brackets () means you should repeat everything between the brackets n times.
For example, if you want the robot to clean two uncleaned rooms on the same floor, then type 2(C).
If you want the robot to go down one floor afterwards, type 2(C) D.
In order to clean all the rooms, the robot starts on the ground floor and after it is finished it must return to the ground floor.
Which of the following instructions is the correct one to clean all the rooms and during the work never leave the five mentioned floors?
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Social Studies
![image](/tpl/images/cats/obshestvoznanie.png)
![image](/tpl/images/cats/obshestvoznanie.png)
![image](/tpl/images/cats/obshestvoznanie.png)
You know the right answer?
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 20.07.2019 01:30
![Konu](/tpl/images/cats/mat.png)
Mathematics, 20.07.2019 01:30
![Konu](/tpl/images/cats/mat.png)
Mathematics, 20.07.2019 01:30
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 20.07.2019 01:30