/** * square * Read an int from stdin and square it. */ #include int main () { int i; scanf ("%d", &i); printf ("%d^2 = %d\n", i, i*i); return 0; }