0_0_38246138_17382.cpp: In function 'int main()': 0_0_38246138_17382.cpp:5:2: error: expected initializer before 'while' while(cin>>n&&n!=0){ ^ 0_0_38246138_17382.cpp:19:1: error: expected '}' at end of input } ^