Question: Write a program that translates an alphabetic phone number into numeric form: Enter phone number: CALLATT 2255288 (Here are the letters on the keys: 2=ABC,

Write a program that translates an alphabetic phone number into numeric form: Enter phone number: CALLATT 2255288 (Here are the letters on the keys: 2=ABC, 3=DEF, 4=GHI, 5=JKL, 6=MNO, 7=PQRS, 8=TUV, 9=WXYZ) If the original phone number contains nonalphabetic characters (digits or punctuation, for example), leave them unchanged: Enter phone number: 1-800-COL-LECT 1-800-265-5328 You may assume that any letters entered by the user are upper case.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!