Hi..i have been trying to make my program to quit when specific key is pressed....how can i do that? at the moment when any key is pressed it will also quit.
so far this is what ive done...
else if (ans == 'B')
else if (ans == 'C')