Can you explain where the problem is? What character's value is not being recognized?
Do you understand that the value of '3' is not the same as the int: 3
See the ASCII character table for a...