// Author: Hyrum Carroll #include #include "date.h" using std::cout; using std::endl; using std::getline; using std::cin; DateClass::DateClass(){ month="January"; day=1; year=2000; } void DateClass::printDate(){ cout << "\n\nMonth: " << month << endl; cout << "Day: " << day << endl; cout << "Year: " << year << endl; } void DateClass::readDate(){ cout << "What is the current month?\n"; getline( cin, month, '\n'); cout << "What is the current day?\n"; cin >> day; cout << "What is the current year?\n"; cin >> year; cout << "Thank you\n"; }