0_0_20496712_25322.cpp: In function 'int main()': 0_0_20496712_25322.cpp:18:5: error: 'i' was not declared in this scope for(i=0;i<n;i++) ^ 0_0_20496712_25322.cpp:27:5: error: 'i' was not declared in this scope for(i=0;i<n;i++) ^