Originally posted by Marilyn deQueiroz:
By the way, do you know what the possible range of values is for an int?
Yes Marilyn, it's [ -2,147,483,648 - 2,147,483,647 ] ( at least that what it says in "Java Software Solutions by John Lewis and William Loftus"

) .
Thanks for your help, I've started over with my program, using the other approach.