Home > Back-end >  Written in C language "have any such date", trouble, can you help me take a look at where
Written in C language "have any such date", trouble, can you help me take a look at where

Time:11-29

# include ;
Int main () {
Int y, m, d, I, n.
scanf("%d",&n);
for(i=0; iThe scanf (" % d % d % d ", & y, & m, & d);
If (m==2) {
If ((y % 4==0 && y % 100!=0) | | y %==0 400) {
If (d <=29) printf (" yes \ n ");
The else printf (" \ n "); }
The else
If (d <=28) printf (" yes ");
The else printf (" \ n ");
}
Else if (m==1 | | m==3 | | m==5 | | m==7 | | 8 m==| | 10 m==| | m==12) {
If (d <=31) printf (" yes \ n ");
The else printf (" \ n ");
}
Else if (((m==4 | | m==6 | | 9 m==| | m==11)) && d <=30)
Printf (" yes \ n ");
The else printf (" \ n ");
}
return 0;
}