fork download
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int x=10, y=15, z=2,i, j, k;
  6. i=x<y<z;
  7. printf("%d\n", i);
  8.  
  9. j = x < y;
  10. printf("%d\n", j);
  11.  
  12. k = j < z;
  13. printf("%d\n", k);
  14.  
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 2052KB
stdin
Standard input is empty
stdout
1
1
1