1String temp = Integer.toString(guess);
2int[] newGuess = new int[temp.length()];
3for (int i = 0; i < temp.length(); i++)
4{
5 newGuess[i] = temp.charAt(i) - '0';
6}
1int number = 110101;
2String temp = Integer.toString(number);
3int[] numbers = new int[temp.length()];
4for (int i = 0; i < temp.length(); i++) {
5 numbers[i] = temp.charAt(i) - '0';
6}