#include "Date.h" #include #include using std::cout; using std::cin; using std::endl; using std::istream; using std::ostream; using std::string; int main() {Date peace(11,11,1918); cout << "World War I ended on " << peace << ".\n"; peace.setDate(8,14,1945); cout << "World War II ended on " << peace << ".\n"; cout << "Enter month, day, and year: "; Date date; cin >> date; cout << "The date is "<< date << ".\n"; }