I was trying to write a code for a menu-driven program. It did not work out for a long time until I wrote getch() outside the while loop. Can somebody explain to me why this