0_0_31848930_182.cpp: In function 'int main()': 0_0_31848930_182.cpp:6:13: error: 'n' was not declared in this scope while(cin>>n) ^