You will need to declare userint (translates char to int ) as int before your switch/case, too.
You are getting very close to a working program here!
There are some things I would do differently, but they might depend on using techniques you aren't familiar with. I've been trying to get a feel for what you do understand so I can make suggestions that aren't out-of-bounds for you. In the long run, don't worry - you'll be thinking in computerese soon enough!