0_0_27232409_3338.cpp: In function 'int main()': 0_0_27232409_3338.cpp:18:46: error: expected ';' before '}' token while(n){printf("%d\n",ci[n]);scanf("%d",&n)} ^