I\'ve looked and looked with the debugger and cannot seem to figure out why the IF statement always prints the message.
The IF statement checks to see if yesno != \'
You need to put
if (yesno != 'Y' || yesno != 'N')
You always need to put the full expression twice.