locked
there is one ty question and i want u ppl to plz fime solution for this in c++ RRS feed

  • Question

  • Write a C++ program to print a calendar for one year, given the year and the day of the week that January 1 falls on. It may help to think of this task as printing 12 calendars, one for each month given the day of the week on which a month starts and the number of days in the month. Each successive month starts on the day of the week that follows the last day of the preceding month. Days of the week should be numbered 0 through 6 for Sunday through Saturday. Years that are divisible by 4 are leap years.

    Thursday, November 20, 2008 4:44 PM