Erik Davies wrote: im am completely stumped.
Regards,<br>K. Mahesh<br> <br>SCJP 1.2 Aug-2001 : 79%
It is probably long enough since OP posted that you could no longer do any harm by posting solutions. I have restored the updated version of the post.Mahesh Kumaraguru wrote: . . .
Note: - I posted a complete solution which did not show up in the replies, . . . Hoping the above "pseudo code + code" meets the JavaRanch posting standard.
Campbell Ritchie wrote:
That was to operate on numbers using the == operator. It is completely unnecessary to use Strings and char[] arrays, unless possibly to get rid of the problem of having negative numbers.
Regards,<br>K. Mahesh<br> <br>SCJP 1.2 Aug-2001 : 79%
Campbell Ritchie wrote:Maybe, but how did you work it for ints?
Regards,<br>K. Mahesh<br> <br>SCJP 1.2 Aug-2001 : 79%
Being too scrupulous* must be at least 0 and at most 9.