fork download
  1. using System;
  2.  
  3. class Program
  4. {
  5. static void Main()
  6. {
  7. Console.Write("Введіть x: ");
  8. double x = Convert.ToDouble(Console.ReadLine().Replace(",", "."));
  9.  
  10. Console.Write("Введіть y: ");
  11. double y = Convert.ToDouble(Console.ReadLine().Replace(",", "."));
  12.  
  13. double numerator = Math.Pow((2 + y*y), (x + y/2));
  14. double denominator = y*y + 1/(1 + y*y);
  15.  
  16. double a = numerator / denominator;
  17.  
  18. Console.WriteLine("Результат a = " + a);
  19. }
  20. }
Success #stdin #stdout 0.05s 30276KB
stdin
0.22
 -6.72
stdout
Введіть x: Введіть y: Результат a = 1.2304888959787379E-07