// 22.5HV2 Software Engineering II // Unit 4 Exercise 2 #include class Date { friend ostream& operator<<(ostream&, const Date&); public: Date(int d=1, int m=1, int y=2000): day(d), month(m), year(y) {} private: int day, month, year; };