流程控制语句分类
●顺序结构
●分支结构(if,switch)
●循环结构(for,while,do…while)
数据测试:正确数据,边界数据,错误数据
if(score>10011 score<0){
System.out.println("你输入的分数有误");
}else if(score>=95&&score<=100){
Syatem.out.println("山地自行车一辆");
}else if(score>=90&&score<=94){
Syatem.out.printin("游乐场玩一次"):
}else if(score>= =80&&score<=89){
System.out.println("变形金刚玩具一个");
}else {System.out.println("胖揍一顿");}