Quote:
Originally Posted by pdurrant
This is true, but for 36 4 days it's still 8,104,460.
S DAYS=364
S TOTAL=DAYS*(DAYS+1)*(DAYS+2)/6
W TOTAL
I think my version is a little more efficient.
|
I agree completely. I also happen to like your version. Simpler is always better.
The reason I posted the 365 answer was because that was what was asked for in the question, and I did my little program at about the same time you did your post. I certainly didn't mean you any disrespect pdurrant, and I like your method to the answer better.