#include <stdbool.h> #include <stdio.h> int isLeap(int year) { if(year%4==0&&year%100!=0||year%400==0) return 1; else return 0;; } int main() { int year,month; int day[12] = {31,28,31,30,31,30,31,31,30,31,30,31}; while(scanf("%d %d\n",&year,&month)!=EOF) {...