0_0_22113250_28858.cpp: In function 'int main()': 0_0_22113250_28858.cpp:28:24: error: 'i' was not declared in this scope for(int k=sqrt(i*2.0)+1;k;k--) ^