Wesley's Anger Contest 3 Problem 1 - Snow Day Predictor
Source Code
#include <iostream>
#include <string>
using namespace std;
int main(){
int T, D, P;
int c = 0;
cin >> T >> D >> P;
if(T < -40){
c++;
}
if(D >= 15){
c++;
}
if(P > 50){
c++;
}
if(c >= 2){
cout << "YES" << endl;
}else{
cout << "NO" << endl;
}
return 0;
}