#include <iostream>
using namespace std;
int main()
{
int n = 0;
cout << "Введите n: ";
cin >> n;
cout << endl;
for(int i = 1; i<n; i++){
cout << i*i << " " << i*i*i << ";" << endl;
}
#include <iostream>
using namespace std;
int main()
{
int n = 0;
cout << "Введите n: ";
cin >> n;
cout << endl;
for(int i = 1; i<n; i++){
cout << i*i << " " << i*i*i << ";" << endl;
}
}