0_0_21277902_21298.cpp:3:2: error: expected unqualified-id before 'while' while(scanf("%d",&n)!=EOF&&n>0) ^