#include <iostream> using namespace std; #include <assert.h> int GetMonthDay(int year, int month) { assert(month > 0 && month < 13); static int monthDayArray[13] = { -1, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30,31 }; if (month == 2 && ((year % 4 == 0 && ye...