Write a program that translates an alphabetic phone number intonumeric form. Bel
ID: 3614116 • Letter: W
Question
Write a program that translates an alphabetic phone number intonumeric form. Below is an example output showingthe format you should use. The user input is shown asunderlined text.
Enter phone number: CALLATT
2255288
In case you don’t have a telephone nearby, here are theletters on the keys: 2=ABC, 3=DEF, 4=GHI, 5=JKL, 6=MNO, 7=PRS,8=TUV, 9=WXY. If the original phone number containsnon-alphabetic characters (digits or punctuation, for example),leave them unchanged:
Enter phone number: 1-800-COLLECT
1-800-265-5328
You may assume any letters entered by the user are uppercase.