Okay, not all of them are. But if this post from codinghorror.com is any indication of reality, the odds are definitely stacked against us.

DumbassConsider this simple problem: you need to write a program that prints out the numbers 1 to 100. However, if the number is divisible by 3 print the word “fizz” instead. If the number is divisible by 5 print the word “buzz”. And finally, if the number is divisible by both 3 and 5 then print both words.

If you believe the article, 199 out of 200 programmers can’t do it. Can you?

Advertisements