How could you modify char2int to consider hexadecimal characters? Again,

Question
How could you modify char2int to consider hexadecimal characters? Again, don’t have to

write code, just provide the steps needed to include them.