#include<stdio.h>
#include<conio.h>
int main(void)
{
int a,b,c,d,e,f,j,temp,temp1,
gun,hafta,ay,yil,yas;
do{
clrscr();
printf("\n\n\n\n\t\t\t Tarih Bulma Program");
printf("\n\n\n\n\t\t Ltfen Bugnn Tarihini Giriniz (gn ay yl)\n\n\n\n\t\t:");
scanf("%d%d%d",&a,&b,&c);
printf("\n\n\n\n\t\t\tDogum Tarihinizi Giriniz (gn ay yl)\n\n\n\n\t\t:");
scanf("%d%d%d",&e,&d,&f);
temp=(365*c)+(30*b)+a;
temp1=(365*f)+(30*d)+e;
gun=temp-temp1;
printf("\n\n\t\tYasadgn Toplam Gn Says : %d\n\n",gun);
hafta=gun/7;
printf("\t\tYasadgn Toplam Hafta Says : %d",hafta);
ay=gun/30;
printf("\n\n\t\tYasadgn Toplam Ay Says : %d",ay);
yil=gun/365;
printf("\n\n\t\tYasadgn Toplam Yl Says : %d",yil);
printf("\n\n\n\n\t\t Yeniden Baslatmak i‡in 1'i Tklaynz : ");
scanf("%d",&j);
}while(j==1);
return 0;
}