Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "bits/stdc++.h"
- using namespace std;
- int main() {
- int t; cin >> t;
- while(t--) {
- int x; cin >> x;
- if(x < 1400) cout << "Division 4\n";
- else if(x < 1600) cout << "Division 3\n";
- else if(x < 1900) cout << "Division 2\n";
- else cout << "Division 1\n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment