Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Please Help! Can anyone explain how to do this?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
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}
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!