Don't have the counter checker within the loop, because otherwise on the first char check, it checks the count <2 and finds it is false, then returns false, and the method terminates.
I see you...
Type: Posts; User: ppme
Don't have the counter checker within the loop, because otherwise on the first char check, it checks the count <2 and finds it is false, then returns false, and the method terminates.
I see you...
I would add in a counter and use the isDigit() method and if there is less than 2 digits, return false.
More than likely not the best solution.. I have 3 semesters of java over me in college so...