Вычислить с использованием оператора for - C#
Решение задачи: «Вычислить с использованием оператора for»
textual
Листинг программы
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rickland_3
{
class Program
{
static void Main(string[] args)
{
double res=1;
for (int i = 1; i <= 52; i++)
{
res *= Math.Pow(i, 2) /( Math.Pow(i, 2) + 2 * i + 3);
}
Console.WriteLine("Pезультат: {0:f6}", res);
Console.ReadLine();
}
}
}