this is a simplified form of my question, if the user did not enter 'a' on the second if statement, will it go straight to else?Code:
scanf ("%c", i);
if (i=='a')
{
printf ("the user enterered a thus it entered if");
scanf ("%c", i);
if (i=='a')
{
printf ("the user still entred a");
}
}
else printf ("the user did not enter a");