#include #include int main(int argc, char** argv) { int val; while (1) { printf("Enter an integer: "); fflush(stdout); scanf("%i", &val); printf("%i ^ 2 = %i\n", val, val * val); } return EXIT_SUCCESS; }