0_0_28504814_17051.cpp: In function 'int main()': 0_0_28504814_17051.cpp:9:2: error: expected ';' before 'scanf' scanf("%d/%d/%d",&y,&m,&d); ^