Well if you can't use other collections such as an ArrayList, I think that you're stuck with what you have. Bummer.
Type: Posts; User: curmudgeon
Well if you can't use other collections such as an ArrayList, I think that you're stuck with what you have. Bummer.
Quick answer #1: use an array of ints rather than 22+ int variables. Then you can loop through the array with ease should you desire.