1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #include <iostream> using namespace std; int main() { int A, B = 0; while (1) { cin >> A >> B; if (A >= –10000 && B >= –10000 && A <= 10000 && B <= 10000) break; } if (A > B) cout << “>” << endl; else if (A < B) cout << “<“ << endl; else cout << “==” << endl; return 0; } | cs |