0_0_21448804_29608.cpp: In function 'int main()': 0_0_21448804_29608.cpp:11:5: error: expected ';' before 'int' int n; ^ 0_0_21448804_29608.cpp:12:18: error: 'n' was not declared in this scope while(cin >> n) ^