/* ------------------------------------------ 条件の判定 If_01 ------------------------------------------ */ import java.io.*; class If_01 { public static void main(String[] args) throws Exception { int a,b; BufferedReader inp=new BufferedReader (new InputStreamReader(System.in)); String keybd; System.out.print("aはいくつ?"); keybd=inp.readLine(); a=Integer.parseInt(keybd); System.out.print("bはいくつ?"); keybd=inp.readLine(); b=Integer.parseInt(keybd); if ( a>b ) System.out.print("aが大きいです\n"); } }