Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void findSolutions(int count)
- {
- for(int i = 0; i < board.length; i++)
- {
- if(board[i] == 0)
- {
- for(i = 0; i < holes.length; i++)
- {
- temp = board[i];
- Move(temp);
- }
- }
- }
- if(count == finale)
- {
- System.out.println("Retry? 'yes' or 'no' ");
- if(scan.nextLine().equals("yes"))
- {
- findSolutions(count);
- }
- else
- {
- scan.nextLine().equals("no");
- }
- }
- }
Add Comment
Please, Sign In to add comment