题解 | #小乐乐是否被叫家长#
小乐乐是否被叫家长
http://www.nowcoder.com/practice/cc896ffd90d34c7faa318b04e87adf11
#include<stdio.h>
int main() {
float a, b, c, ave;
scanf("%f %f %f", &a, &b, &c);
ave = (a + b + c) / 3;
if (ave >= 60) printf("NO");
else printf("YES");
return 0;
}
int main() {
float a, b, c, ave;
scanf("%f %f %f", &a, &b, &c);
ave = (a + b + c) / 3;
if (ave >= 60) printf("NO");
else printf("YES");
return 0;
}