//URI 1020//Author: Humaun Kabir
#include <stdio.h>int main(){ int n,h,m,s; scanf("%d",&n); h = n/365; m = n % 365 / 30; s = n % 365 % 30; printf("%d ano(s)\n%d mes(es)\n%d dia(s)\n",h,m,s); return 0;}
No comments:
Post a Comment
Thank you for commenting. Please wait for response :)