Tuesday, May 31, 2016

SOLUTION OF URI 1020


//     question of uri 1020  Age in Days
 // 1020  (Mahmud_Jamil) BRUR






#include <stdio.h>
int main()
{
    int a,b,c,d;
    scanf("%d",&a);
    b=a/365;
    c=a%365/30;
    d=a%365%30;
    printf("%d ano(s)\n%d mes(es)\n%d dia(s)\n",b,c,d);

    return 0;
}