why couldn't you do that without the loop? You'd have to write the code out 6 different times and manually change the charAt each time, but it would work. Why are you trying to avoid loops? Is...
Type: Posts; User: kissyfurs
why couldn't you do that without the loop? You'd have to write the code out 6 different times and manually change the charAt each time, but it would work. Why are you trying to avoid loops? Is...
Not sure if you can do this (I'm fairly new) and I can't try this at work, but here's what I would try:
1. Read the input in as a string rather than an int
2. Use the charAt Method to read each...