stairsweeper
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
stairsweeper [2019/08/23 09:46] – [StairSweeperRunner.java] frchris | stairsweeper [2019/08/23 09:47] – frchris | ||
---|---|---|---|
Line 16: | Line 16: | ||
public void climbStair() | public void climbStair() | ||
{ | { | ||
- | turnLeft(); | + | // code needed here |
- | move(); | + | |
- | turnRight(); | + | |
- | move(); | + | |
} | } | ||
private void turnRight() | private void turnRight() | ||
{ | { | ||
- | turnLeft(); | + | //coded needed here |
- | turnLeft(); | + | |
- | this.turnLeft(); | + | |
} | } | ||
stairsweeper.txt · Last modified: 2023/08/22 09:50 by frchris