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