I was assigned a program that has a single char value inputted. Is there a way to make it so that the program checks to make sure the input is a letter of the alphabet without doing this?
if ((inp != 'a') && (inp != 'b') && (inp != 'c'))
&c.
This is what my input function looks like right now. I also wrote what include files I'm using right now. If there is a good default one I can use I'd be glad to check it out.