Reand Number System Design an algorithm to generate a 6-digit random number that works based on either the binary, octal or hexadecimal system.