Originally posted by Sultan A. A:
Thanks for help, but the problem now is the output like this
1 10 11 100 101 110 111
I want it like
001 010 011 100 101 110 111
and
thaks for help me again,
Originally posted by Tim West:
....
If you want to use parseInt() to implement isInteger(), you'll have to catch the exception.
....
...
user just inputs something and it gets printed out again
...