PROGRAMMING PROBLEMS & SOLUTIONS
Pages
HOME
URI
UVA
CODEFORCES
HACKERRANK
EXTRA
CONTACT
Friday, April 29, 2016
UVA problem 11172 – Relational Operator
Problem link (
Click here
)
#include<iostream>
using namespace std;
int main ()
{
int i, t, a, b;
cin>>t;
for(i=0; i<t; i++){
cin>>a>>b;
if(a<b)
cout<<'<'<<endl;
else if (a>b)
cout<<'>'<<endl;
else
cout<<'='<<endl;
}
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment