SOLUTION OF URI 1020 URI SOLUTIONS // 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; } Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook