hey guys i have a simple program that uses a switch statement for a menu then loops through the program until 0 is inserted to end the program it works great with no problems but i am trying to prevent errors it handle's numbers fine cause the input is and integer but if i were to press a or a random character on the keyboard by accident the program crashes?
how can i get past this should i use a char instead of an integer?