Solution in C #include<stdio.h> int main() { int n,axt; scanf("%d",&n); printf("%d ano(s)\n",n/365); axt=n%365; printf("%d mes(es)\n",axt/30); axt=axt%30; printf("%d dia(s)\n",axt); return 0; } ~~~~~~Happy Coding~~~~~~
No comments