AtCoder Beginner Contest 174 ABCDE(題解)

A - Air Conditioner 題意&&思路: if (大於30就)輸出yes。 else 輸出no。html AC #include <iostream> using namespace std; int main() { int x; cin>>x; if(x>=30)cout<<"Yes"<<endl; else cout<<"No"<<endl;
相關文章
相關標籤/搜索