Code Golf: Phone Number to Words
Guidelines for code-golf on SO We've all seen phone numbers that are put into words: 1-800-BUY-MORE, etc. What is the shortest amount of code you can write that will produce all the possible combinations of words for a 7 digit US phone number. Input will be a seven-digit integer (or string, if that is simpler), and assume that the input is properly formed. Output will be a list of seven-character strings that For instance, the number 428-5246 would produce GATJAGM GATJAGN GATJAGO GATJAHM GATJAHN GATJAGO GATJAIM GATJAIN GATJAIO and so on..... Winning criterion will be code from any language