0_0_33254022_22461.cpp: In function 'int main()': 0_0_33254022_22461.cpp:28:14: error: 'i' was not declared in this scope for(int j=i+1;j<=n;j++) ^