inport java.uil.Scaniner,
public class proromise{
public static void main(String[] args){
Scanner inport = new Scanner(System.in) ;
System.out.println("请输入成绩");
int math =inport.nextInt();
if(math>=100)
System.out.println("父亲给她买一辆车");
}else if (math>=90)
{
System.out.println("母亲给她买一部笔记本电脑");
}else if (math >=60)
{
System.out.println("母亲给她买一部手机");
}else
{
System.out.println("成绩<60分,没有礼物");
}
}
}