0_0_39147468_9382.cpp: In function 'int main()':
0_0_39147468_9382.cpp:6:52: error: expected ')' before ';' token
6 | while(scanf("%d",&c)!=EOF && c != 0 && n!=0;){
| ~ ^
| )
0_0_39147468_9382.cpp:6:53: error: expected primary-expression before ')' token
6 | while(scanf("%d",&c)!=EOF && c != 0 && n!=0;){
| ^
|