public static void Main()
Console.WriteLine("a מהו הערך של ?");
a = double.Parse(Console.ReadLine());
Console.WriteLine("b מהו הערך של ?");
b = double.Parse(Console.ReadLine());
Console.WriteLine("c מהו הערך של ?");
c = double.Parse(Console.ReadLine());
x1 = (-b + Math.Sqrt(Math.Pow(b,2) - 4 * a * c)) / 2 * a;
x2 = (-b - Math.Sqrt(Math.Pow(b,2) - 4 * a * c)) / 2 * a;
Console.WriteLine("x1 =" + x1);
Console.WriteLine("x2 =" + x2);