Just starting out in Java and need a little help.
I'm writing a simple code where the user is asked to enter a 5 digit number, otherwise they get a 'please try again' message. I've figured out most of it, except the number 00000 (with five zeros) must also be an acceptable entry, but not acceptable if they were to enter just one zero. Here's what my if statement looks like so far:
How do I write the code to make 00000 an acceptable entry, but not 0?