Question: Hello I need help creating the following program in JAVA. Most of you have seen commercials for various companies where the phone numbers are exactly,

Hello I need help creating the following program in JAVA.

Most of you have seen commercials for various companies where the phone numbers are exactly, numbers. Stanley Steamers (1-800-STEAMER) or AT&T (1-800-CALL-ATT) for example.

In this simple assignment your job is to help the less adept phone users to figure out what the actual numbers are that they should be dialing.

I have included a picture of the phone keypad.

Inform the user of the program to input the numbers in the format xxx-xxx-xxxx. Your code should output the number either using (xxx) xxx-xxxx or xxx-xxx-xxxx. However, the code output should be a completely numeric conversion of the user's lettered entry.

My preference is the use of objects for this program.

2 ABC 3 DEF 4 GHI 5 JKL 6 MNO 7 PQRS shutterstsck 8 TUV WXYZ www.shutterstock.com 36437875

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!