// Afficher tous les carrés entre deux valeurs lues en entrée #include using namespace std; int main() { int x = 0, y = 0, z = 0; cin >> x; cin >> y; if (x > y) { z = x; x = y; y = z; } for (int n = x; n <= y; n++) { cout << n * n << '\n'; } return 0; } // main()