Info

此问题已关闭。 请重新打开它进行编辑或回答。

Please Help! Can anyone explain how to do this?

1 次查看(过去 30 天)
Tony
Tony 2015-4-29
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
James Tursa
James Tursa 2015-4-29
@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 2015-4-29
Fair enough. It was the ‘7-letter words’ I wasn’t picking up on.

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by