Wrong 5% plz help me !

Seihak hoeun asked 1 year ago

help me plz ! I can not find my mistake


int main(void) { int a,b,c,d; scanf("%d",&a); b = a/365; c = a/30 - b12; d = a - b365 - c*30; printf("%d ano(s)\n%d mes(es)\n%d dia(s)\n",b,c,d); return 0; }

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.