Jeanne Boyarsky wrote:
2) If you've learned about 2D arrays, switch to new int instead of new int. It'll be clearer as to which element is which.
I just wrote:
Now it's easy to make that even more succinct:
Junilu Lacar wrote:I find that using a  array actually tends to make the UI less user-friendly. Compare these prompts:
Knute Snortum wrote:But the implementation wouldn't force you to have any particular UI, would it?
You could implement a 1-9 UI and translate it into a  array:
I wrote:On the other hand, the first user interface that asks only for one digit can be implemented a few ways, including a  if you really feel it's clearer.