Question: using java 1. A phoneword is an alphanumeric word or phrase representing a telephone number, with letters corresponding to those on a telephone keypad. Develop
1. A phoneword is an alphanumeric word or phrase representing a telephone number, with letters corresponding to those on a telephone keypad. Develop a program called Translate Phonellumber that prompts the user for a phoneword and translates it to an equivalent numeric form. The phone number may be of any length. Your program continues to translate phone numbers until the user enters exit. A keyboard with mapping of letters to digits: 000 Example translations: Phoneword Numeric Translation WEL-COME 935-2663 ACS-1903 227-1903 1-800-GOT-JUNK 1-800-468-5865 11204)CALL-MTS 11204)2255-687 1-800-0-Canada 1-800-6-226232 Sample output: System: Enter a list of phonewords to translate: User: System: 935-2663 User: ACS-1903 System 227-1903 User: System: 1-800-6-226232 User: System: ***End of program***
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
