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