#include <iostream>
#include<math.h>
using namespace std;
int main()
{
setlocale(LC_ALL, "RUS");
int x, y;
cout << "x = ";
cin >> x;
cout << "y = ";
cin >> y;
for (size_t i = x; i < y+1; i++)
cout << pow(i, 2) << endl;
}
#include <iostream>
#include<math.h>
using namespace std;
int main()
{
setlocale(LC_ALL, "RUS");
int x, y;
cout << "x = ";
cin >> x;
cout << "y = ";
cin >> y;
for (size_t i = x; i < y+1; i++)
{
cout << pow(i, 2) << endl;
}
}