/* Author: Susan Mitchell */ /* File : Date.h */ #ifndef DATE_H #define DATE_H typedef struct { int month; int day; int year; } Date; /* Compares two dates */ /* */ /* Returns: */ /* 0 if the two dates are equal */ /* -1 if the first date is less than the second */ /* 1 if the first date is greater than the second */ /* */ /* Parameters: */ /* date1 = a date structure */ /* date2 = a date structure */ int dateCompare(Date date1, Date date2); #endif