Info
This question is closed. Reopen it to edit or answer.
Please Help! Can anyone explain how to do this?
1 view (last 30 days)
Show older comments
C Each number on a phone corresponds to three alphabetic characters. Write a code that prints all possible words formed (regardless of whether or not they make sense) from any 7-digit telephone number.
10 Comments
James Tursa
on 29 Apr 2015
@Cyclist: Seems fairly clear to me also. Groupings on my phone would be something like this:
LETTERS = {'','','ABC','DEF','GHI','JKL','MNO','PQRS','TUV','WXYZ'}
with a digit "k" corresponding to LETTERS{k+1}
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!