#include int main(void){ int day_array[]={31,28,31,30,31,30,31,31,30,31,30,31}; int month,day; int day_total=0,happy_days=0; for(month=1;month<=12;month++){ for(day=1;day<=day_array[month-1];day++){ day_total = day/10+day%10; if(month==day_total){ happy_days++; } } } printf ("%d\n",happy_days); return 0; }