i am trying to make the loop stop after typing y/n, but it just returning printing and asking for a char. what is wrong here?
code:
char con='r';
while(con != 'n' || con != 'y')
{
printf("Would you like to play again? (y/n): ");
con=getch();
}