#include using namespace std; #include "date.h" // simple preview of using the class Date int main() { int month, year; cout << "enter month (1-12) and year "; cin >> month >> year; Date d(month, 1, year); cout << "the first day of that month is " << d << ", it is a " << d.DayName() << endl; cout << "this month has " << d.DaysIn() << " days in it " << endl; return 0; }