11172 - Relational Operator | UVa - Samsus Salehin Sabbir

Header Ads

11172 - Relational Operator | UVa

Problem Link : 11172 - Relational Operator

Solution :
      Develop by
 Samsus Salehin Sabbir 




  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int a,b,t;
  6. cin >> t;
  7. while(t--)
  8. {
  9. cin >> a >> b;
  10. if(a<b)
  11. cout << "<" << endl;
  12. else if(a>b)
  13. cout << ">" << endl;
  14. else
  15. cout << "=" << endl;
  16. }
  17. return 0;
  18. }

No comments

Powered by Blogger.