Language: C

#include<stdio.h>
int main(void)
{
	int A,B,C;
	scanf("%d",&A);
	scanf("%d",&B);
	scanf("%d",&C);
	if(a<b&&b<c) {
		printf("%d %d %d\n,a,b,c);
	}
	if(a<c&&c<b) {
		printf("%d %d %d\n,a,c,b);
	}
	if(b<a&&a<c) {
		printf("%d %d %d\n,b,a,c);
	}
	if(b<c&&c<a) {
		printf("%d %d %d\n,b,c,a);
	}
	if(c<a&&a<b) {
		printf("%d %d %d\n,c,a,b);
	}
	if(c<b&&b<a) {
		printf("%d %d %d\n,c,b,a);
	}return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:12: error: 'a' undeclared (first use in this function)
    8 |         if(a<b&&b<c) {
      |            ^
main.c:8:12: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:14: error: 'b' undeclared (first use in this function)
    8 |         if(a<b&&b<c) {
      |              ^
main.c:8:19: error: 'c' undeclared (first use in this function)
    8 |         if(a<b&&b<c) {
      |                   ^
main.c:9:24: warning: missing terminating " character
    9 |                 printf("%d %d %d\n,a,b,c);
      |                        ^
main.c:9:24: error: missing terminating " character
    9 |                 printf("%d %d %d\n,a,b,c);
      |                        ^~~~~~~~~~~~~~~~~~~
main.c:10:9: error: expected expression before '}' token
   10 |         }
      |         ^
main.c:9:24: error: expected ';' before '}' token
    9 |                 printf("%d %d %d\n,a,b,c);
      |                        ^
      |                        ;
   10 |         }
      |         ~               
main.c:12:24: warning: missing terminating " character
   12 |                 printf("%d %d %d\n,a,c,b);
      |                        ^
main.c:12:24: error: missing terminating " character
   12 |                 printf("%d %d %d\n,a,c,b);
      |                        ^~~~~~~~~~~~~~~~~~~
main.c:13:9: error: expected expression before '}' token
   13 |         }
      |         ^
main.c:12:24: error: expected ';' before '}' token
   12 |                 printf("%d %d %d\n,a,c,b);
      |                        ^
      |                        ;
   13 |         }
      |         ~               
main.c:15:24: warning: missing terminating " character
   15 |                 printf("%d %d %d\n,b,a,c);
      |                        ^
main.c:15:24: error: missing terminating " character
   15 |                 printf("%d %d %d\n,b,a,c);
      |                        ^~~~~~~~~~~~~~~~~~~
main.c:16:9: error: expected expression before '}' token
   16 |         }
      |         ^
main.c:15:24: error: expected ';' before '}' token
   15 |                 printf("%d %d %d\n,b,a,c);
      |                        ^
      |                        ;
   16 |         }
      |         ~               
main.c:18:24: warning: missing terminating " character
   18 |                 printf("%d %d %d\n,b,c,a);
      |                        ^
main.c:18:24: error: missing terminating " character
   18 |                 printf("%d %d %d\n,b,c,a);
      |                        ^~~~~~~~~~~~~~~~~~~
main.c:19:9: error: expected expression before '}' token
   19 |         }
      |         ^
main.c:18:24: error: expected ';' before '}' token
   18 |                 printf("%d %d %d\n,b,c,a);
      |                        ^
      |                        ;
   19 |         }
      |         ~               
main.c:21:24: warning: missing terminating " character
   21 |                 printf("%d %d %d\n,c,a,b);
      |                        ^
main.c:21:24: error: missing terminating " character
   21 |                 printf("%d %d %d\n,c,a,b);
      |                        ^~~~~~~~~~~~~~~~~~~
main.c:22:9: error: expected expression before '}' token
   22 |         }
      |         ^
main.c:21:24: error: expected ';' before '}' token
   21 |                 printf("%d %d %d\n,c,a,b);
      |                        ^
      |                        ;
   22 |         }
      |         ~               
main.c:24:24: warning: missing terminating " character
   24 |                 printf("%d %d %d\n,c,b,a);
      |                        ^
main.c:24:24: error: missing terminating " character
   24 |                 printf("%d %d %d\n,c,b,a);
      |                        ^~~~~~~~~~~~~~~~~~~
main.c:25:9: error: expected expression before '}' token
   25 |         }return 0;
      |         ^
main.c:24:24: error: expected ';' before '}' token
   24 |                 printf("%d %d %d\n,c,b,a);
      |                        ^
      |                        ;
   25 |         }return 0;
      |         ~