题干解读:给出3个数,要求将他们的平均数与60比较,输出不同的值.

思路:求出平均值后与60比较即可

#include <iostream>
using namespace std;

int main() {
    int a, b,c;
    cin>>a>>b>>c;
    double ave;
    ave = (a+b+c)/3.0;
    if(ave<60){
        cout<<"YES";
    }else{
        cout<<"NO";
    }


}