for (size_t i = 0; i < 5; ++i) { printf( "element %zu is %g, its square is %g ", i, A[i], A[i]*A[i] ); }