juanjo12x

UVA 11172_Relational_Operator

May 22nd, 2014
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4.  
  5. int main(int argc, char** argv) {
  6.     int t,a,b;
  7.     scanf("%d",&t);
  8.     while(t--){
  9.         scanf("%d %d",&a,&b);
  10.         if (a<b) printf("<\n");
  11.         if (a>b) printf(">\n");
  12.         if (a==b) printf("=\n");
  13.     }
  14.     return (EXIT_SUCCESS);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment