#include #include "date.h" // Add date.cpp to your project // testdate.cpp // 2.3.00 // G. Volger // Program to test date class from assignment apap7.2 // Revised 12.2.02 int main () { Date d1; // Jan 1, 0000 Date d2(3, 9, 1955); cout << d1 << endl; // 1/1/0000 cout << d1 << endl; // 3/9/1955 d1.ChangeDate(1,24,1988); cout << d1 << endl; // 1/24/1988 d1.ChangeDate(0,0,-1); cout << d1 << endl; // 1/24/1988 d1.ChangeDate("2/24/1992"); cout << d1 << endl; // 2/24/1992 d1.ChangeDate("12/25/932"); cout << d1 << endl; // 12/25/0932 d1.ChangeDate(5507019); cout << d1 << endl; // 10/16/1995 d1.ChangeDate(4440722); cout << d1 << endl; // you figure it out! d1.ChangeDate(557055); cout << d1 << endl; // you figure it out! d1.ChangeDate(557056); cout << d1 << endl; // you figure it out! return 0; }