#5051: 錯一個~~請幫忙糾正


xbox5110 (紅茶)

學校 : 樹德科技大學
編號 : 18489
來源 : [101.13.17.20]
最後登入時間 :
2015-12-19 22:36:01

    import java.util.Scanner;

    public class test{
    public static void main(String [] args){

   Scanner input = new Scanner(System.in);
   int n = input.nextInt();
   int m = input.nextInt();

 
   int x=0,y=0,sum=0;
   if ((n>7)&(n<17)){
    if ((m>=00)&(m<59)){
   System.out.println("At School");
    }
 
   }
  
else
 System.out.println("Off School");
   
    }
    }

總是錯一個~~  我自己輸入 07 30 他會輸出off school...