0_0_20520315_19431.cpp:3:5: error: expected unqualified-id before 'while' while(scanf("%d/%d/%d",&a,&b,&c)!=EOF) { ^