Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Please Help! Can anyone explain how to do this?

2 views (last 30 days)
Tony
Tony on 29 Apr 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
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
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}
Star Strider
Star Strider on 29 Apr 2015
Fair enough. It was the ‘7-letter words’ I wasn’t picking up on.

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!