#include "stdio.h"
void degistir(int gun,int ay,int yil);
void main()
{
int gun,ay,yil;
printf("tarih giriniz(gun/ay/yil)");
scanf("%2d %3d %5d",&gun,&ay,&yil);
degistir(gun,ay,yil);
}
void degistir(int gun,int ay,int yil)
{
if(ay==1)
printf("%d-ocak-%d\n",gun,yil);
if(ay==2)
printf("%d-subat-%d\n",gun,yil);
if(ay==3)
printf("%d-mart-%d\n",gun,yil);
if(ay==4)
printf("%d-nisan-%d\n",gun,yil);
if(ay==5)
printf("%d-mayis-%d\n",gun,yil);
if(ay==6)
printf("%d-haziran-%d\n",gun,yil);
if(ay==7)
printf("%d-temmuz-%d\n",gun,yil);
if(ay==8)
printf("%d-agustos-%d\n",gun,yil);
if(ay==9)
printf("%d-eylul-%d\n",gun,yil);
if(ay==10)
printf("%d-ekim-%d\n",gun,yil);
if(ay==11)
printf("%d-kasim-%d\n",gun,yil);
if(ay==12)
printf("%d-aralik-%d\n",gun,yil);
}