But you don't have to use fancy math (mod operator) to solve fizz buzz.
Since it is based on a game children play, how would they solve this problem? I imagine they would use one hand to count up to three, and the other hand to count up to five. Every time one hand reaches three, they say fizz, and every time the other hand reaches five, they say buzz.
No fancy math. Just counting.
I apologize for butting in, but you guys just don't realize how good you have it. In order to practice their craft, people in other fields have to buy all kinds of equipment, parts and tools just to do something basic. For some, it takes years to accumulate those things. For others, they'll never be able to practice their craft outside of work or outside of a university.
But you can practice your craft almost anywhere. Along with books and magazines, you can get your "parts" and "tools" from wikipedia, blogs, forums, etc. Professionals from major companies will even respond to nobodies like me in their blogs. Best of all, if you make a really bad mistake during your learning process, you can always do it over again by restarting your computer.
And with all of these advantages, is it too much to ask that a college graduate with a degree in computer science be able to find a way to solve fizz buzz?
Again, I apologize for butting in.