Thursday, January 28, 2016

UVA 11172 | | Relational Operator

#include<bits/stdc++.h>
using namespace std;
int main()
{
    long long t, a , b;
    cin>>t;
    while(t--){
        cin>>a>>b;
        if(a>b)
            cout<<">"<<endl;
        else if(a<b)
            cout<<"<"<<endl;
        else if(a==b)
            cout<<"="<<endl;
    }
}

No comments:

Post a Comment