用布林代數比較:
char status[2][4]={"At","Off"};
int h,m;
scanf("%d %d",&h,&m);
int n=(h>=17||h<7 ||(h==7 && m<30));