#11189: c 簡單範例


justintung1 (不成為魯蛇)


#include<stdio.h>
#include<stdlib.h>

int main()
{
int i,j;
while(scanf("%d %d",&i,&j)!=EOF)

if(i>7&&i<17)
{
printf("At School");
}
else if(i==7&&j==30)
{
printf("At School");

}
else
{
printf("Off School");
}
system("pause");
}