In C, how do I check if a String contains 2 digits, 1 letter and 4 digits?
- by Andy
In the method I've tried this:
int 1, 2, 4, 5, 6, 7;
char 3;
char display[10];
scanf("%d%d%c%d%d%d%d", &1, &2, &3, &4, &5, &6, &7);
display = {1, 2, 3, 4, 5, 6, 7};
But I get errors everywhere and it doesn't work.