fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a,b;
  6. scanf("%d",&a);
  7. scanf("%d",&b);
  8. if(a%100/10<b%100/10)
  9. printf("%d<%d",a,b);
  10. else if(a%100/10>b%100/10)
  11. printf("%d>%d",a,b);
  12. else printf("%d==%d",a,b);
  13.  
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0.01s 5280KB
stdin
123
45
stdout
123<45