Originally posted by Nagot Gick Fel: Why test? The formula applies to odd and even number just the same.
Forgive me for saying this, but "why test?" is a stupid question. Lesson #1 in programming: All software needs to be tested, and thoroughly. Just because the *formula* works doesn't mean that the *implementation* of the formula in code works as intended.
quote:Originally posted by Nagot Gick Fel: Why test? The formula applies to odd and even number just the same.
Forgive me for saying this, but "why test?" is a stupid question. Lesson #1 in programming: All software needs to be tested, and thoroughly. Just because the *formula* works doesn't mean that the *implementation* of the formula in code works as intended. Ah OK. And it wasn't a stupid question, only a misunderstanding: I thought you "tested" for even/odd numbers in your code, which of course has nothing to do with "testing" software.
__________________ God does not play dice, He plays Dominions Albert von Ulm