コード例 #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("For quite programm use: ctr+c");

            Console.WriteLine("Equation: ax^2+bx+c");

            EnterValuesForEquation.Enter();
        }
コード例 #2
0
 public static void Resue()
 {
     Console.Write("For reuse, type -> r: ");
     try
     {
         char reuse = Convert.ToChar(Console.ReadLine());
         if (reuse == 'r')
         {
             EnterValuesForEquation.Enter();
         }
     }
     catch (FormatException e)
     {
         Console.WriteLine(e.Message + ("\n incorrectly typed symbol, typed -> r"));
     }
 }