C++ · Strings and characters
A keypad sends the characters of a PIN, not its numbers, so turning '7' into 7 is a step you write yourself.
'7'