// Afficher tous les carrés entre deux valeurs lues en entrée #include int main() { int x = 0, y = 0, z = 0; scanf("%d", &x); scanf("%d", &y); if (x > y) { z = x; x = y; y = z; } for(int n = x; n <= y; n++) { printf("%d\n", n * n); } return 0; } // main()