# include & lt; stdio.h>
# include & lt; Math. H>
Int main ()
{
Int a, b;
Scanf_s (" % d % d ", & amp; A, & amp; B);
If (a % 4==0 & amp; & B==2)
{
If (a % 100!=0 | | a % 400==0) printf (" % d ", 29).
The else printf (" % d ", 28);
}
Else if (a % 4!=0 & amp; & B==2)
{
If (a % 100==0) printf (" % d ", 28);
} the front is a leap year in February and is probably not a leap year February here was wrong but I'm too unclear
Else if (b % 2!=0 & amp; & 0 & lt; B & lt; 8) printf (" % d ", 31).
Else if (b==4 | | b==6) printf (" % d ", 30);
Else if (b % 2==0 & amp; & 7 & lt; B & lt; 13) printf (" % d ", 31).
Else if (b % 2!=0 & amp; & 7 & lt; B & lt; 13) printf (" % d ", 30);
return 0;
}
Thank you