//One "Client" Program to demonstrate the class DayOfYear. #include using namespace std; #include "DayOfYear.h" int main( ) { DayOfYear today, bach_birthday(3,21); today.output(); bach_birthday.output(); cout << "Enter today's date:\n"; today.input( ); cout << "Today's date is "; today.output( ); bach_birthday.set(3, 21); cout << "J. S. Bach's birthday is "; bach_birthday.output( ); if ( today.get_month( ) == bach_birthday.get_month( ) && today.get_day( ) == bach_birthday.get_day( ) ) cout << "Happy Birthday Johann Sebastian!\n"; else cout << "Happy Unbirthday Johann Sebastian!\n"; return 0; }