Language: C++

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

namespace ConsoleApplication3
{
    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:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:26: error: 'string' has not been declared
   11 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:11:35: error: expected ',' or '...' before 'args'
   11 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:33:2: error: expected ';' after class definition
   33 | }
      |  ^
      |  ;
a.cc: In static member function 'static void ConsoleApplication3::Program::Main(int*)':
a.cc:16:23: error: structured binding declaration cannot have type 'double'
   16 |                 double[] h = new double[6];
      |                       ^~
a.cc:16:23: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:16:23: error: empty structured binding declaration
a.cc:16:26: error: expected initializer before 'h'
   16 |                 double[] h = new double[6];
      |                          ^
a.cc:17:17: error: 'String' was not declared in this scope
   17 |                 String str = Console.ReadLine();
      |                 ^~~~~~
a.cc:18:21: error: 'str' was not declared in this scope; did you mean 'std'?
   18 |                 if (str == null) break;
      |                     ^~~
      |                     std
a.cc:18:28: error: 'null' was not declared in this scope
   18 |                 if (str == null) break;
      |                            ^~~~
a.cc:19:17: error: 'string' was not declared in this scope
   19 |                 string[] s = str.Split();
      |                 ^~~~~~
a.cc:19:24: error: expected primary-expression before ']' token
   19 |                 string[] s = str.Split();
      |                        ^
a.cc:22:21: error: 'h' was not declared in this scope
   22 |                     h[i] = double.Parse(s[i]);
      |                     ^
a.cc:22:28: error: expected primary-expression before 'double'
   22 |                     h[i] = double.Parse(s[i]);
      |                            ^~~~~~
a.cc:26:21: error: 'Math' was not declared in this scope
   26 |                 x = Math.Floor(x * 1000) / 1000;
      |                     ^~~~
a.cc:28:17: error: 'Console' was not declared in this scope
   28 |                 Console.WriteLine("{0:0.000} {1:0.000}", x, y);
      |                 ^~~~~~~
a.cc: At global scope:
a.cc:33:2: error: expected '}' at end of input
   33 | }
      |  ^
a.cc:8:1: note: to match this '{'
    8 | {
      | ^