#include <iostream> using namespace std; int m[13] = {0,31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; class Date { private: int year; int month; int day; public: void input() { cin >> year >> month >> day; } void display() { cout << year << "-"; if (month < ...