Don't show the code you started with. That is not the code causing you problems. Show the code you have actually modified so input is of type char, and then compares input with a,b,c ....
...