subject

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
Answers: 2

Another question on Social Studies

question
Social Studies, 22.06.2019 02:00
The civilian conservation corps (ccc), an agency established during the great depression as part of the new deal, created jobs for people who were unemployed. what kind of work did people do as part of the ccc? a. built libraries and hospitals b. maintained state and national forests c. photographed migrants and the homeless d. constructed roads and bridges
Answers: 1
question
Social Studies, 22.06.2019 20:00
The document asks about dependents because the number can affect who pays taxes. increase overall taxes. lower overall taxes. affect when to pay taxes.
Answers: 2
question
Social Studies, 22.06.2019 22:30
Which three sentences in the story indicate that that the passage is an ex nihilo type of creation story?
Answers: 1
question
Social Studies, 23.06.2019 01:00
These facilities were organized and sponsored by churches or charities during the great depression in an effort to feed the homeless and needy.
Answers: 1
You know the right answer?
The Beaverhotel has 5 floors with 8 rooms each.

The robot that cleans them follows the in...
Questions
question
Mathematics, 21.06.2019 20:00
question
Mathematics, 21.06.2019 20:00
Questions on the website: 13722361