I'm pretty new and teaching myself threw tutorials. One issue in the use of the programs i make is the user can easily crash the program by inputting a variable of the wrong data type. Currently the variable is an int, and if anyone inputs a char, it sends the program into a continuous loop.
If there is a way to limit the user or a data type that will support both integers and chars, i would love to know.
Thank you immensly in advance.