Question: Using C++. Complete the implementation of the class date that represents dates written in the form day/month/year. Do not modify the main program. You must
Using C++. Complete the implementation of the class date that represents dates written in the form day/month/year. Do not modify the main program. You must write the prototypes and the definitions of the methods of the class.
?




Declaration of Class Date /* File: date. h A class representing dates in the form: day , month and year dat e s are written to a stream in the form day/month/ year day_number ( ) returns the number of days since 1/1 of the current year including the current day days_between ( ) returns the number of days between two dates not including the first day but including the last day. */ #ifndef DATE H #define DATE_H #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
