{ for(int i=0; i<10; ++i) { double a = sqrt(i); double b = pow(i, 2); cout << "i=" << i << " pow(i,2)=" << b << " sqrt(i)=" << a << endl; } }