Question: 1 . Write a pseudo - code to show the auto cleaner to clean up the room shown below, you design program should be as

1. Write a pseudo-code to show the auto cleaner to clean up the room shown below, you design program should be as clever as possible:
Assumptions:
(i) the rubbish and auto cleaner positions are randomly located. Make sure each movement of the auto-cleaner is a rational move.
(ii) Rubbish and Obstructive objects may randomly pop-up at anytime.
x -- they are walls
C -- auto cleaner
o rubbish

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!