0_0_28048330_2664.cpp:2:2: error: expected unqualified-id before 'while' while(scanf("%d/%d/%d",&year,&month,&day)!=EOF) ^