Ответ:
С++
#include <iostream>
using namespace std;
int main()
{
int Sum = 0;
int y;
for(int x = 1; x <= 15; x++)
y = x * x;
Sum = Sum + y;
}
cout << Sum;
return 0;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
С++
#include <iostream>
using namespace std;
int main()
{
int Sum = 0;
int y;
for(int x = 1; x <= 15; x++)
{
y = x * x;
Sum = Sum + y;
}
cout << Sum;
return 0;
}