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