题解 | 牛牛是否被叫家长
牛牛是否被叫家长
https://www.nowcoder.com/practice/cc896ffd90d34c7faa318b04e87adf11
import java.util.Scanner;
// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int A = sc.nextInt(),B = sc.nextInt(),C = sc.nextInt();
int AVG = (A + B +C) / 3;
if(AVG >= 60){
System.out.print("NO");
}else{
System.out.print("YES");
}
}
}