Language: C++

import java.util.Scanner;


class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
			int a = sc.nextInt();
			int b = sc.nextInt();
			int c = sc.nextInt();
			
		if (a > b) {
			if (b > c) {
				System.out.println( c + " " + b + " " + a );
			} if (a < c) {
				System.out.println( b + " " + a + " " + c );
			} if (a > c) { if (b < c) {
				System.out.println( b + " " + c + " " + a );
			}}
		} if (a < b) {
			if (b < c) {
				System.out.println( c + " " + a + " " + b );
			} if (a > c) {
				System.out.println( c + " " + a + " " + b );
			} if (a < c) { if (b > c) {
				System.out.println( a + " " + c + " " + b );
			}}
		}
		
	}
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:15: error: expected ':' before 'static'
    5 |         public static void main(String[] args){
      |               ^~~~~~~
      |               :
a.cc:5:33: error: 'String' has not been declared
    5 |         public static void main(String[] args){
      |                                 ^~~~~~
a.cc:5:42: error: expected ',' or '...' before 'args'
    5 |         public static void main(String[] args){
      |                                          ^~~~
a.cc:30:2: error: expected ';' after class definition
   30 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:6:17: error: 'Scanner' was not declared in this scope
    6 |                 Scanner sc = new Scanner(System.in);
      |                 ^~~~~~~
a.cc:7:33: error: 'sc' was not declared in this scope
    7 |                         int a = sc.nextInt();
      |                                 ^~
a.cc:13:33: error: 'System' was not declared in this scope
   13 |                                 System.out.println( c + " " + b + " " + a );
      |                                 ^~~~~~
a.cc:13:65: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   13 |                                 System.out.println( c + " " + b + " " + a );
      |                                                     ~~~~~~~~~~~ ^ ~~~
      |                                                             |     |
      |                                                             |     const char [2]
      |                                                             const char*
a.cc:15:33: error: 'System' was not declared in this scope
   15 |                                 System.out.println( b + " " + a + " " + c );
      |                                 ^~~~~~
a.cc:15:65: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   15 |                                 System.out.println( b + " " + a + " " + c );
      |                                                     ~~~~~~~~~~~ ^ ~~~
      |                                                             |     |
      |                                                             |     const char [2]
      |                                                             const char*
a.cc:17:33: error: 'System' was not declared in this scope
   17 |                                 System.out.println( b + " " + c + " " + a );
      |                                 ^~~~~~
a.cc:17:65: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   17 |                                 System.out.println( b + " " + c + " " + a );
      |                                                     ~~~~~~~~~~~ ^ ~~~
      |                                                             |     |
      |                                                             |     const char [2]
      |                                                             const char*
a.cc:21:33: error: 'System' was not declared in this scope
   21 |                                 System.out.println( c + " " + a + " " + b );
      |                                 ^~~~~~
a.cc:21:65: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   21 |                                 System.out.println( c + " " + a + " " + b );
      |                                                     ~~~~~~~~~~~ ^ ~~~
      |                                                             |     |
      |                                                             |     const char [2]
      |                                                             const char*
a.cc:23:33: error: 'System' was not declared in this scope
   23 |                                 System.out.println( c + " " + a + " " + b );
      |                                 ^~~~~~
a.cc:23:65: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   23 |                                 System.out.println( c + " " + a + " " + b );
      |                                                     ~~~~~~~~~~~ ^ ~~~
      |                                                             |     |
      |                                                             |     const char [2]
      |                                                             const char*
a.cc:25:33: error: 'System' was not declared in this scope
   25 |                                 System.out.println( a + " " + c + " " + b );
      |                                 ^~~~~~
a.cc:25:65: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   25 |                                 System.out.println( a + " " + c + " " + b );
      |                                                     ~~~~~~~~~~~ ^ ~~~
      |                                                             |     |
      |                                                             |     const char [2]
      |                                                             const char*