Pabon_SEC

Relational operator

Sep 3rd, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     long long int a,b,t;
  5.     scanf("%lld",&t);
  6.     while(t--)
  7.     {
  8.         scanf("%lld%lld",&a,&b);
  9.         if(a>b)
  10.         {
  11.             printf(">\n");
  12.         }
  13.         else if(b>a)
  14.         {
  15.             printf("<\n");
  16.         }
  17.         else if(a==b)
  18.         {
  19.             printf("=\n");
  20.         }
  21.     }
  22.     return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment