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