#include //for the object cout #include "date.h" //for the class date using namespace std; //Definitions of the member functions and friend functions of class date date::date(int m, int d, int y) { year = y; month = m; day = d; } void date::print() const { cout << month << "/" << day << "/" << year; }