> int digitArray[] = new int[4];
Why use an int array? It seems that if you store everything in one int, it will still be easy to
get the information out.
> //loop through the array and...
> for ( i = 3; i >= 0; i--)
Whenever I have a loop that is this short, I often think that the program would be simpler without
a loop at all ....
Matthew Phillips
Wait a minute, I'm trying to think of something clever to say...<p>Joel
Originally posted by Pauline McNamara:
thanks jdj, that makes sense (my loop ran only 4 times).
Pauline
ps it would be "...if the number of repetitions are not too high."
Wait a minute, I'm trying to think of something clever to say...<p>Joel
Wait a minute, I'm trying to think of something clever to say...<p>Joel
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |