0_0_14296019_24946.cpp: In function 'int main()': 0_0_14296019_24946.cpp:22:7: error: 'i' was not declared in this scope for(i=1;i<N;i++) ^ 0_0_14296019_24946.cpp:32:7: error: 'i' was not declared in this scope for(i=end;i>=0;i--) ^