switch学習ノート
1310 ワード
}
class TestSwitch5
{
public static void main(String[] args)
{
int score=57;
if(score>=60){
System.out.println(" ");
}else{
System.out.println(" ");
}
switch(score/10){
case 10:
System.out.println(" ");
break;
case 9:
System.out.println(" ");
break;
case 8:
System.out.println(" ");
break;
case 7:
System.out.println(" ");
break;
case 6:
System.out.println(" ");
break;
case 5:
System.out.println(" ");
break;
case 4:
System.out.println(" ");
break;
case 3:
System.out.println(" ");
break;
case 2:
System.out.println(" ");
break;
case 1:
System.out.println(" ");
break;
case 0:
System.out.println(" ");
break;
default:
System.out.println(" ");
}
switch(score/10){
case 10:
case 9:
case 8:
case 7:
case 6:
System.out.println(" ");
break;
case 5:
case 4:
case 3:
case 2:
case 1:
case 0:
System.out.println(" ");
break;
default:
System.out.println(" ");
}
}
}