DEVELOPE A PHONE SPELL
sample input and output:
combinations:
exp:1
input:1-800-2668378
output:
1-800-A-NO-TEST
1-800-A-NO-VEST
1-800-A-NO-TEST
1-800-A-ON-VEST
1-800-AM-OVERT
1-800--BOO-VEST
1-800--BOO-TEST
1-800-CONTEST
1-800-CONVERT
1-800-COO-TEST
exp 2:
i/p:1-800--0000000
o/p:1-800--0000000
exp 3:
i/p:1-800--1000000
o/p:1-800--1000000
Proble:
NOs from 2 to8 corresponds to the alphabets written like in the telphone for storing names
given a string of input:1-800-2668378 and all possible combination of words are shown.
for string -2668378
hint :use a dictionary file
1-800- is common for all strings
if no correspond to more than one word use to saperate them
if no has 0 or 1 put at same pos