Puzzle #4: Working Days
Calculating the number of days between two arbitrary dates is doable for humans and trivial on modern computers. However, calculating the number of working days: Mondays through Fridays, is more complicated. In this puzzle you are asked to devise an algorithm for doing this. This is something you can do on the back of a napkin, so you don’t need anything else then pen, paper and the rational part of your brain.