Advertisement
mominulkarim77

UVA- 11172 - Relational Operator

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