Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

using java
image text in transcribed
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 Phone Number 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 (204)CALL-MTS 1(204)2255-687 1-800-O-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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions