actually, in C/C++ (x--) would return x and the loop would execute exactly 100 times. After that x==0, hence false, hence the loop ends.
So the code is actually correct, it's the (x>0) as post-loop-body action that's superfluous...
Actually, non-native speakers are usually much more careful about the spelling, since they were already able to write when they learned the language. Also, speaking personally, I've always been unable to learn (ie remember) a new word without figuring precisely in my head the way it was written.
That said, "loose" is nothing compared to the "its/it's" and "they're/their/there" disasters...
ciao
S
actually, in C/C++ (x--) would return x and the loop would execute exactly 100 times. After that x==0, hence false, hence the loop ends. So the code is actually correct, it's the (x>0) as post-loop-body action that's superfluous...
Actually, non-native speakers are usually much more careful about the spelling, since they were already able to write when they learned the language. Also, speaking personally, I've always been unable to learn (ie remember) a new word without figuring precisely in my head the way it was written. That said, "loose" is nothing compared to the "its/it's" and "they're/their/there" disasters... ciao S