#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);
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#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);
}