fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes her
  5. int b=2,c=1,max;
  6. printf("%d\n",c<b);
  7. printf("%d\n",c>b);
  8. printf("%d\n",c<=b);
  9. printf("%d\n",b!=c);
  10. if (b>c){max=b;
  11. printf("max=%d\n",max);}
  12. else {max=c;
  13. printf("max=%d\n",max);}
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
1
0
1
1
max=2