Language: C

#include<stdio.h>
int main(void)
{
	char a[90];
	char b[90];
	char c[90];
	int A,B,C;
	fgets(a,sizeof(a),stdin);
	fgets(b,sizeof(b),stdin);
	fgets(c,sizeof(c),stdin);
	
	sscanf(a,"%d",&A);
	sscanf(b,"%d",&B);
	sscanf(c,"%d",&C);

	if (A<=B&&B<=C){
		printf(A B C\n);
	}
	else{
		if (A<=C&&C<=B){
			printf(A C B\n);
		}
		else{
			if (B<=A&&A<=C){
				printf(B A C\n);
			else{
				if (C<=A&&A<=B){
					printf(C A B\n);
				else{
					if (B<=C&&C<=A){
						printf(B C A\n);
					else{
						printf(C B A\n);
					}
				}
			}
		}
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:25: error: expected ')' before 'B'
   17 |                 printf(A B C\n);
      |                       ~ ^~
      |                         )
main.c:17:29: error: stray '\' in program
   17 |                 printf(A B C\n);
      |                             ^
main.c:17:24: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   17 |                 printf(A B C\n);
      |                        ^
      |                        |
      |                        int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:21:33: error: expected ')' before 'C'
   21 |                         printf(A C B\n);
      |                               ~ ^~
      |                                 )
main.c:21:37: error: stray '\' in program
   21 |                         printf(A C B\n);
      |                                     ^
main.c:21:32: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   21 |                         printf(A C B\n);
      |                                ^
      |                                |
      |                                int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:25:41: error: expected ')' before 'A'
   25 |                                 printf(B A C\n);
      |                                       ~ ^~
      |                                         )
main.c:25:45: error: stray '\' in program
   25 |                                 printf(B A C\n);
      |                                             ^
main.c:25:40: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   25 |                                 printf(B A C\n);
      |                                        ^
      |                                        |
      |                                        int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:26:25: error: expected '}' before 'else'
   26 |                         else{
      |                         ^~~~
main.c:28:49: error: expected ')' before 'A'
   28 |                                         printf(C A B\n);
      |                                               ~ ^~
      |                                                 )
main.c:28:53: error: stray '\' in program
   28 |                                         printf(C A B\n);
      |                                                     ^
main.c:28:48: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   28 |                                         printf(C A B\n);
      |                                                ^
      |                                                |
      |                                                int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:29:33: error: expected '}' before 'else'
   29 |                                 else{
      |                                 ^~~~
main.c:31:57: error: expected ')' before 'C'
   31 |                                                 printf(B C A\n);
      |                                                       ~ ^~
      |                                                         )
main.c:31:61: error: stray '\' in program
   31 |                                                 printf(B C A\n);
      |                                                             ^
main.c:31:56: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   31 |                                                 printf(B C A\n);
      |                                                        ^
      |                                                        |
      |                                                        int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:32:41: error: expected '}' before 'else'
   32 |                                         else{
      |                                         ^~~~
main.c:33:57: error: expected ')' before 'B'
   33 |                                                 printf(C B A\n);
      |                                                       ~ ^~
      |                                                         )
main.c:33:61: error: stray '\' in program
   33 |                                                 printf(C B A\n);
      |                                                             ^
main.c:33:56: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   33 |                                                 printf(C B A\n);
      |                                                        ^
      |                                                        |
      |                                                        int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~