Browse Source

Поменял название переменной

Igor Sannikov 2 years ago
parent
commit
a19776003b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Program.cs

+ 2 - 2
Program.cs

@@ -16,9 +16,9 @@ namespace ConsoleApp1
             Console.Write("Введите число x = ");
             double x = Convert.ToDouble(Console.ReadLine());
             // Считаем с округлением
-            double Result  = (Math.Pow(e, x) - (Math.Pow(y, 2) + 12 * x * y - 3 * Math.Pow(x, 2)) / (18 * y - 1), 2);
+            double Otvet  = (Math.Pow(e, x) - (Math.Pow(y, 2) + 12 * x * y - 3 * Math.Pow(x, 2)) / (18 * y - 1), 2);
             // Выводим ответ
-            Console.WriteLine("Ответ = " + Result);
+            Console.WriteLine("Ответ = " + Otvet);
             Console.ReadKey();
         }
     }