0_0_38130213_9216.cpp: In function 'int main()': 0_0_38130213_9216.cpp:28:21: error: expected ')' before ';' token while(cin >> n ;) { ^ 0_0_38130213_9216.cpp:28:22: error: expected primary-expression before ')' token while(cin >> n ;) { ^