public static void Main()
Console.WriteLine("Nhap a:");
a= int.Parse(Console.ReadLine());
Console.WriteLine("Nhap b:");
b= int.Parse(Console.ReadLine());
Console.WriteLine("Nhap c:");
c= int.Parse(Console.ReadLine());
Console.WriteLine("phuong trinh co mot nghiem",x);
Console.WriteLine("phuong trinh co 2 nghiem");
x1 = (-b + Math.Sqrt(d)) / (2 * a);
x2 = (-b - Math.Sqrt(d)) / (2 * a);
Console.Write("Nghiem thu nhat: x1 = {0}\n", x1);
Console.Write("Nghiem thu nhat: x2 = {0}\n", x2);
Console.WriteLine("phuong trinh vo nghiem");