« first day (1357 days earlier)      last day (3076 days later) » 

8:34 AM
This question is a decent example for a problem that required higher-level competence. There is only one true answer to the OP's original problem, but there are many ways, some of which are workable and some not. One has to figure out a way that works.
 
 
14 hours later…
10:09 PM
Beware that this question has attracted many answers that are mediocre or downright wrong, yet have a very high score. I recommend asking questions that require some knowledge of computer science on Computer Science rather than here. — Gilles 8 secs ago
counting down to my comment being flagged and deleted…
sadly, Programmers deals with questions requiring expertise as poorly as ever
 
 
1 hour later…
vzn
11:32 PM
think you may have a pt, but do the answers you think are wrong have comments saying that or not? the question (loops vs recursion) can be legitimately answered in several or even many ways.
 

« first day (1357 days earlier)      last day (3076 days later) »