PROGRAMMING:Mydate class
Construct a date class, mydate class, including month, year and day, provide the corresponding get and set functions, provide the void print() function to print the date, and provide int compare (mydate d) to test the time of the current object and parameter object D. if it is early, return - 1, if it is late, return 1, if it is equal, return 0
In the main function, read in two date objects, output the information of the first date object, and output the comparison results of the two objects
###Input format:
Two date objects, the first is the date of the current date object, and the second is the date of the date object to be compared
###Output format:
The information of the current date object, the comparison result of the current object and the date object to be compared
###Input example:
Here is a set of inputs. For example:
```in
2008 6 12 2009 6 22
```
###Output example:
The corresponding output is given here. For example:
```out
6/12/2008 -1
```
answer:If there is no answer, please comment
In the main function, read in two date objects, output the information of the first date object, and output the comparison results of the two objects
###Input format:
Two date objects, the first is the date of the current date object, and the second is the date of the date object to be compared
###Output format:
The information of the current date object, the comparison result of the current object and the date object to be compared
###Input example:
Here is a set of inputs. For example:
```in
2008 6 12 2009 6 22
```
###Output example:
The corresponding output is given here. For example:
```out
6/12/2008 -1
```
answer:If there is no answer, please comment