LOL. Okay, I'll bite back.
> You obviously understand me better than myself!
It is not yourself the one that needs to understand your explication |
Again, you've misunderstood clear language. I wasn't making a statement about
my understanding. (Though, unless I'm overrating you, I think you are well-aware of this.)
> When it is time to flip back to zero
it does not flip back to zero.
Note that except for one case the sequence of each digit is non-decreasing. |
You seem to want to treat the array of symbols as if they have some sort of intrinsic relationship.
The only relationship they have is their order in the sequence, which I have recommended the user consider as circular. Odometers and other 'flip' devices work by
turning or
rotating or, gasp,
flipping to the next symbol, eventually flipping back to the first. This is all very obvious if you know anything at all about how an odometer works -- unless, of course, you're trying to be a jerk.
You'll also recall I said the digits can be anything. The array could be {2,*,q,☻}. OP is using {0,1,2,3}.
Clearly, you aren't adding one to the
displayed symbol. You're adding one to the
index into the displayed symbols. This should have been fairly obvious. But since it wasn't, thanks for giving me an opportunity to state the minutiae.
You go out of your way to misunderstand me, on a regular basis. Why is that, I wonder?
On a related note, I also like how the 'report' button has become something of a censorship button. Being upset, or posting a critical remark, or simply disagreeing with someone is too much to handle, apparently. Rather than let opinions with which we disagree stand, we can 'report' them in an effort to make them disappear! Very,
very mature.
So go ahead. Report me again! Do it! Do it!
I'm beginning to develop regular regret for trying to do something as simple as help some poor soul online to better understand his homework. I mean, it's
sooo easy to ignore the meaning of words, and just pretend they mean something else. I don't know how any computer scientist can handle living with that.
And since we're doing OP's homework for him, show me your 'simple couple of nested loops' and I'll show you mine, and we'll let others decide which is easier to understand.