i'm trying to make a check digit for my program as below
The check digit sometimes must have a value of 10, and this is indicated by putting an X in the check-digit location.
I know it has something to do with the ASCII table that X has a value of 88 and I need to work with that somehow.
How do I read if a user has entered an X and then set the X to a value of 10?