public static void Main()
Console.WriteLine("Решение на линейно уравнение");
Console.WriteLine("Въведи b:");
b=Double.Parse(Console.ReadLine());
Console.WriteLine("Въведи c:");
c=Double.Parse(Console.ReadLine());
Console.WriteLine("Всяко x е решение");
Console.WriteLine("Няма решение");
Console.WriteLine("x е равно на: {0:F2}", x);
Console.WriteLine("Решаване на квадратно уравнение");
Console.WriteLine("Въведи а:");
double a=Double.Parse(Console.ReadLine());
Console.WriteLine("Въведи b:");
b=Double.Parse(Console.ReadLine());
Console.WriteLine("Въведи c:");
c=Double.Parse(Console.ReadLine());
Console.WriteLine("b*x=-c");
Console.WriteLine("D : {0:F2}", D);
Console.WriteLine("Няма решение");