about | help | code help+videos | done | prefs |
Given integers of a month, day, and year, calculate how many days until December 25th of that year. Return 0 if it is Christmas Day and a negative number if it is past Christmas day. dateTime_daysTillXmas(1, 1, 2000) → 359 dateTime_daysTillXmas(1, 1, 2001) → 358 dateTime_daysTillXmas(12, 24, 2000) → 1 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy