int main()
{
char c1, c2;
printf("Enter a character: ");
scanf("%c", &c1);
printf("Enter another character: ");
scanf("%c", &c2);
system("pause");
return;
}
Thats what my code looks like, the problem is the code skips the part where it lets you input c2. I dont understand why its doing this. It prints Enter another character: but doesnt take an input. any ideas?