i need help
write four functions

The first two functions will translate the parameter passed
to it into integers in the range 0-9.
- The first function will translate the letters 'A'-'J'
to the range 0-9.
- The second will translate the integer values 1-10 into
the range 0-9.

The third and fourth functions will be boolean functions
that test to see if the values passed into them are in a
specific range.
- The third function will be passed a character and will
produce true if it is in the range 'A'-'J'.
- The fourth function will be passed an integer and will
produce true if it is in the range 1-10.