Exercise: Match hexa, octal, binary numbers

Write 3 functions that return "true" if the given value is a

  • Hexadecimal number
  • Octal number
  • Binary number

Tools

Solution