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