This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2014:cprog:projects:dayofweek [2014/02/06 17:35] – [Calculating day of the week based on year] wedge | haas:spring2014:cprog:projects:dayofweek [2014/02/06 17:39] (current) – [Reflection] wedge | ||
---|---|---|---|
Line 16: | Line 16: | ||
* all requests will be for days in the 21st century (2000-2099) | * all requests will be for days in the 21st century (2000-2099) | ||
- | =====Prerequisites===== | + | =====Prerequisites/ |
In addition to the new skills required on previous projects, to successfully accomplish/ | In addition to the new skills required on previous projects, to successfully accomplish/ | ||
Line 134: | Line 134: | ||
* 2000 by definition isn't a leap year, but how does this algorithm work for 2000 in general? | * 2000 by definition isn't a leap year, but how does this algorithm work for 2000 in general? | ||
* Try this algorithm on some years in the 20th century and see how it fares. | * Try this algorithm on some years in the 20th century and see how it fares. | ||
- | * Is it correct? Is it correct for all of them? | + | * Is it correct? Is it correct for any of them? |
* If it isn't correct, is it consistently off by a value? | * If it isn't correct, is it consistently off by a value? | ||