Language: C++

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

    class Program
    {
        static void Main(string[] args)
        {
            while (true)
            {
                double x, y;
                double[] h = new double[6];
                String str = Console.ReadLine();
                if (str == null) break;
                string[] s = str.Split();
                for (int i = 0; i < 6; i++)
                {
                    h[i] = double.Parse(s[i]);

                    x = ((h[2] * h[4]) - (h[1] * h[5])) / ((h[0] * h[4]) - (h[1] * h[3]));
                    y = ((h[2] * h[3]) - (h[0] * h[5])) / ((h[3] * h[1]) - (h[0] * h[4]));
                    x = Math.Floor(x * 1000) / 1000;
                    y = Math.Floor(y * 1000) / 1000;
                    Console.WriteLine("{0:0.000} {1:0.000}", x, y);

                }
            }
        }
    }

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:8:26: error: 'string' has not been declared
    8 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:8:35: error: expected ',' or '...' before 'args'
    8 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:30:6: error: expected ';' after class definition
   30 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void Program::Main(int*)':
a.cc:13:23: error: structured binding declaration cannot have type 'double'
   13 |                 double[] h = new double[6];
      |                       ^~
a.cc:13:23: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:13:23: error: empty structured binding declaration
a.cc:13:26: error: expected initializer before 'h'
   13 |                 double[] h = new double[6];
      |                          ^
a.cc:14:17: error: 'String' was not declared in this scope
   14 |                 String str = Console.ReadLine();
      |                 ^~~~~~
a.cc:15:21: error: 'str' was not declared in this scope; did you mean 'std'?
   15 |                 if (str == null) break;
      |                     ^~~
      |                     std
a.cc:15:28: error: 'null' was not declared in this scope
   15 |                 if (str == null) break;
      |                            ^~~~
a.cc:16:17: error: 'string' was not declared in this scope
   16 |                 string[] s = str.Split();
      |                 ^~~~~~
a.cc:16:24: error: expected primary-expression before ']' token
   16 |                 string[] s = str.Split();
      |                        ^
a.cc:19:21: error: 'h' was not declared in this scope
   19 |                     h[i] = double.Parse(s[i]);
      |                     ^
a.cc:19:28: error: expected primary-expression before 'double'
   19 |                     h[i] = double.Parse(s[i]);
      |                            ^~~~~~
a.cc:23:25: error: 'Math' was not declared in this scope
   23 |                     x = Math.Floor(x * 1000) / 1000;
      |                         ^~~~
a.cc:25:21: error: 'Console' was not declared in this scope
   25 |                     Console.WriteLine("{0:0.000} {1:0.000}", x, y);
      |                     ^~~~~~~