public static void Main()
Console.WriteLine("Ingrese coeficiente a");
float a = float.Parse(Console.ReadLine());
Console.WriteLine("Ingrese coeficiente b");
float b = float.Parse(Console.ReadLine());
Console.WriteLine("Ingrese coeficiente c");
float c = float.Parse(Console.ReadLine());
float r1 = - b + (float)Math.Sqrt ((b * b - 4 * a * c) / 2 * a );
float r2 = - b - (float)Math.Sqrt ((b * b - 4 * a * c) / 2 * a );
Console.WriteLine("r1 = " + r1 + " | r2 = " + r2);