Write CharInfo: read one character and print its Unicode code, the next and previous characters, whether it is a letter or a digit, and its upper/lower case:
Character: g
Code: 103
Next: h
Previous: f
Is letter: true
Is digit: false
Upper: G, lower: g
Use casts (int) and (char) and the Character class.