2г



Программирование
+2C# Помогите вычислить значение функции

По дате
По рейтингу
class Program
{
private static double Calculation(int x, int y, int degree)
{
return (Math.Pow((x + 1), degree) / Math.Pow((x - 1), degree)) + 18 * x * Math.Pow(y, 2);
}
static void Main(string[] args)
{
Console.WriteLine(Calculation(4, 5, 2));
}
}

Больше по теме