Ответ:
Sum = 10400
#include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "rus");
int sum= 0;
int a = 5;
for (int i = 0; i < 100; i++)
sum += a;
a += 2;
}
cout << sum;
return 0;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
Sum = 10400
#include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "rus");
int sum= 0;
int a = 5;
for (int i = 0; i < 100; i++)
{
sum += a;
a += 2;
}
cout << sum;
return 0;
}