好记性不如烂笔头
import java.util.Scanner;
public class ChengJiDengJi {
/**
* @param args
*/
static double mark ;
public static void main(String[] args) {
// TODO Auto-generated method stub
while(true){
try {
Scanner sca = new Scanner(System.in);
mark = sca.nextDouble();
if(mark>=0&&mark<=100){
break;
}
System.out.println("————————");
// break;
} catch (Exception e) {
System.out.println(".....");
System.out.println(e.toString());
}
}
if(mark<60){
System.out.println("N");
}else{
System.out.println("Y");
}
// System.out.println(mark);
}
}