If something is too easy to be interesting, find ways to make it more interesting.
Like, after the naive solution try without if statement, then without switch statement, and so on, until you are eventually left with just a print statement (+ given for loop) :)
Maybe not directly, but I am quite sure that Google uses Google News to enhance search results (they know more about you and your interest), and so indirectly makes money.
> That's because human languages are geared towards interactive communication not towards describing problems and solutions precisely. That's why computer languages resemble rather precise math language.
Reminds me about a nice summary of Lisp, which describes working with Lisp:
"Interactive means that programming is a dialog with Lisp. You enter an expression and Lisp computes the side effects (for example output) and the value.
So your programming session is like 'talking' with the Lisp system. You work with it until you get the right answers."
Like, after the naive solution try without if statement, then without switch statement, and so on, until you are eventually left with just a print statement (+ given for loop) :)