C program to add two dates

C program to add two dates

Output:

Enter the date1: dd mm yyyy
12 3 1991
Enter the date2: dd mm yyyy
13 2 1989
The result date is:
          25 5 3980

Implementation: