Ответы
Ответ дал:
0
в общем, на c++:
#include <iostream>
using namespace std;
int main()
{
int x;
cout <<"Введите переменную X: ";
cin >>x;
double s=0;
for(int i=1; i<11; ++i)
{
double t=((i+1)*(i+1)*(i+1))/4.0*x;
s+=t;
}
cout <<"Сумма равна: " <<s <<endl;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int x;
cout <<"Введите переменную X: ";
cin >>x;
double s=0;
for(int i=1; i<11; ++i)
{
double t=((i+1)*(i+1)*(i+1))/4.0*x;
s+=t;
}
cout <<"Сумма равна: " <<s <<endl;
return 0;
}
Приложения:
Вас заинтересует
2 года назад
7 лет назад
10 лет назад
10 лет назад
10 лет назад