This code compiles, but doesn't print anything into the terminal.

So my code is meant to compare the y co-ordinate of the robot with the y co-ordinate of the target.

```
public class Ex12 
{

  private byte isTargetNorth(IRobot robot)
  {

    if (robot.getLocationY() > robot.getTargetLocation().y) 
      {System.out.println("north");
      return 1;}

    else if (robot.getLocationY() == robot.getTargetLocation().y)
      {System.out.println("no");
      return 0;}

    else 
      {System.out.println("south");
      return -1;}

  }
}

```