When using the following code I have a problem with the fact that, during running the program, it skips the entire enter date section and just prints the next line, not allowing for any input, most frustrating... the code is:
printf("Enter customer name: ");
scanf("%s", job.club);
printf("Enter job number: ");
scanf("%s", job.job_num);
printf("Enter job date: ");
scanf("2%d", job.job_date.day);
scanf("2%d", job.job_date.month);
scanf("4%d", job.job_date.year);
printf("Enter fault code: ");
scanf("%s", job.f_code);
printf("Enter any comments: ");
gets (job.comments[200]);
Thanks in advance for any help/advice..