I want to read two lines of input and after I read the first line, the output is automatically 0.
This is my input:
int main() {
char s1[256], s2[256];
int x, n;
scanf("%d", &n);
scanf("%[a-z,A-Z]%*2c%[a-z,A-Z]%*2c%d", s1, s2, &x);
printf("%s %s %d", s1, s2, x);
return 0;
}
Any ideas?