Originally posted by Nagot Gick Fel: Is it right? It's a bit hard to read on my browser, but I think I can read "10 to 21 costs 165 gold" (?). That should be 176 if I'm not mistaken.
Yeah, I've noticed it too. It must be that the marketing department was producing promotional materials before the program was completed
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