Computer Science, asked by sangeethachilukuri, 5 months ago


You have created a robot for finding queen from a grid. You have to program your robot to find
the queen. The grid is about NX N square and you will be supplied with coordinate of queen and
your robot. Here only 4 kind of movement is allowed, which belong left, right, up and down. You
have to provide instructions like move 2 steps right
INPUT
first line contain two space separated values grid size
second line contain two space separated value position of queen
third line contain two space separated value position of robot
OUTPUT
instructions like
move ->2 steps right​

Answers

Answered by keyboardavro
0

Answer:

mate it can vary

Explanation:

Similar questions