> int digitArray = new int;
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 ....
Originally posted by Pauline McNamara:
thanks jdj, that makes sense (my loop ran only 4 times).
ps it would be "...if the number of repetitions are not too high."
Think of how dumb the average person is. Mathematically, half of them are EVEN DUMBER. Smart tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Appshttps://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous