import java.util.Scanner; public class nn { public static void main(String[] args) { //输入数据 Scanner sc = new Scanner(System.in); System.out.println("请输入一个数字"); int score = sc.nextInt(); if (score >= 60 && score <= 80) { System.out.println("恭喜"); } else if (score >= 30 && score <= 59) {99 System.out.println("你好"); } else if (score >= 10 && score <= 29) { System.out.println("l"); } else { System.out.println("11"); } } }
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)