Berilgan natural n va m uchun quydagi qiymati
funksiya bilan hisoblansin.
n
i
m
j
j
j
i
s
3
2
)
*
*
2
(
int n=Convert.ToInt32(Console.ReadLine());
int m=Convert.ToInt32(Console.ReadLine());
int s,k; s=0; k=1;
for (int i=3;i{ for (int j=2; j{ k=k*(2*i+j*j);
} s=s+k;
}
Console.WriteLine(s);
Console.ReadKey();
Do'stlaringiz bilan baham: |