#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> using namespace std; int daymonth[13] = { 0,31,29,31,30,31,30,31,31,30,31,30,31 }; int leapyear(int year) { return (year % 4 == 0 && year % 100 != 0 || year % 400 == 0); } int abs(int a,int b) { if (a - b < 0) { return b - a; } else...