#include <stdio.h>
#include <math.h>
int main()
{
double sum = 0;
for (int i = 2; i <= 50; i++)
sum += 1/pow(i, 3);
}
printf("summa = %f", 1 + sum);
#include <stdio.h>
#include <math.h>
int main()
{
double sum = 0;
for (int i = 2; i <= 50; i++)
{
sum += 1/pow(i, 3);
}
printf("summa = %f", 1 + sum);
}