Language: C

 x,y,z;
    scanf("%d %d %d",&x,&y,&z);
    if(x<y&&y<z){
        printf("%d %d %d\n",x,y,z);
    } else if(x<z&&z<y){
        printf("%d %d %d\n",x,z,y);
    }else if(y<x&&x<z){
        printf("%d %d %d\n",y,x,z);
    }else if(y<z&&z<x){
        printf("%d %d %d\n",y,z,x);
    }else if(z<x&&x<y){
        printf("%d %d %d\n",z,x,y);
    }else if(z<y&&y<x){
        printf("%d %d %d\n",z,y,x);
    }else if(x==y&&y<z){
        printf("%d %d %d\n",x,y,z);
    }else if(x==y&&y>z){
        printf("%d %d %d\n",z,x,y);
    }else if(x==z&&z<y){
        printf("%d %d %d\n",x,z,y);
    }else if(x==z&&z>y){
        printf("%d %d %d\n",y,x,z);
    }else if(y==z&&z<x){
        printf("%d %d %d\n",y,z,x);
    }else if(y==z&&z>x){
        printf("%d %d %d\n",x,y,z);
    }else if(x==y&&y==z){
        printf("%d %d %d\n",x,y,z);
    }

Compiler output:
main.c:1:2: warning: data definition has no type or storage class
    1 |  x,y,z;
      |  ^
main.c:1:2: error: type defaults to 'int' in declaration of 'x' [-Wimplicit-int]
main.c:1:4: error: type defaults to 'int' in declaration of 'y' [-Wimplicit-int]
    1 |  x,y,z;
      |    ^
main.c:1:6: error: type defaults to 'int' in declaration of 'z' [-Wimplicit-int]
    1 |  x,y,z;
      |      ^
main.c:2:11: error: expected declaration specifiers or '...' before string constant
    2 |     scanf("%d %d %d",&x,&y,&z);
      |           ^~~~~~~~~~
main.c:2:22: error: expected declaration specifiers or '...' before '&' token
    2 |     scanf("%d %d %d",&x,&y,&z);
      |                      ^
main.c:2:25: error: expected declaration specifiers or '...' before '&' token
    2 |     scanf("%d %d %d",&x,&y,&z);
      |                         ^
main.c:2:28: error: expected declaration specifiers or '...' before '&' token
    2 |     scanf("%d %d %d",&x,&y,&z);
      |                            ^
main.c:3:5: error: expected identifier or '(' before 'if'
    3 |     if(x<y&&y<z){
      |     ^~
main.c:5:7: error: expected identifier or '(' before 'else'
    5 |     } else if(x<z&&z<y){
      |       ^~~~
main.c:7:6: error: expected identifier or '(' before 'else'
    7 |     }else if(y<x&&x<z){
      |      ^~~~
main.c:9:6: error: expected identifier or '(' before 'else'
    9 |     }else if(y<z&&z<x){
      |      ^~~~
main.c:11:6: error: expected identifier or '(' before 'else'
   11 |     }else if(z<x&&x<y){
      |      ^~~~
main.c:13:6: error: expected identifier or '(' before 'else'
   13 |     }else if(z<y&&y<x){
      |      ^~~~
main.c:15:6: error: expected identifier or '(' before 'else'
   15 |     }else if(x==y&&y<z){
      |      ^~~~
main.c:17:6: error: expected identifier or '(' before 'else'
   17 |     }else if(x==y&&y>z){
      |      ^~~~
main.c:19:6: error: expected identifier or '(' before 'else'
   19 |     }else if(x==z&&z<y){
      |      ^~~~
main.c:21:6: error: expected identifier or '(' before 'else'
   21 |     }else if(x==z&&z>y){
      |      ^~~~
main.c:23:6: error: expected identifier or '(' before 'else'
   23 |     }else if(y==z&&z<x){
      |      ^~~~
main.c:25:6: error: expected identifier or '(' before 'else'
   25 |     }else if(y==z&&z>x){
      |      ^~~~
main.c:27:6: error: expected identifier or '(' before 'else'
   27 |     }else if(x==y&&y==z){
      |      ^~~~