// File: dofydriver_final.cpp
// Program to demonstrate the class DayOfYear, final version.

#include <iostream>
#include "dayofyear_final.h"
using namespace std;

int main( )
{
   DayOfYear today,                 // default construction
             bachBirthday(3, 21);   // explicit-value construction

   cout << "Enter today's date (mm/dd): ";
   cin >> today;
   cout << "Today's date is " << today << endl;
   
   cout << "J. S. Bach's birthday is " << bachBirthday << endl;
   
   if ( today == bachBirthday)
      cout << "Happy Birthday Johann Sebastian!\n";
   else
      cout << "Happy Unbirthday Johann Sebastian!\n";
   return 0;
}  // end main
