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...
Code:else if (ans == 'B') { goto start; } else if (ans == 'C') { quit; }