fork download
  1. #include<stdio.h>
  2. void main()
  3. {
  4. int a,b,c;
  5. int temp;
  6. printf("4 5 6");
  7. scanf("%d,%d,%d",&a,&b,&c);
  8. if (a>b)
  9. {
  10. temp=a;
  11. a=b;
  12. b=temp;
  13. }
  14. if (a>c)
  15. {
  16. temp=a;
  17. a=c;
  18. c=temp;
  19. }
  20. if (b>c)
  21. {
  22. temp=b;
  23. b=c;
  24. c=temp;
  25. }
  26. printf("%d,%d\n",a,b,c);
  27. }
  28.  
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
4 5 6-2042040352,21991