You initialize an int variable defined within a method to have a value of 0 until you compute specific values for the int. What can on
int
0
you can initialize it to ' ' instead. Also, the reason that you received an error -1 being too many characters is because it is treating '-' and 1 as separate.