Question: Problem Description: The international standard letter / number mapping found on the telephone is shown below: Write a method that returns a number, given an

Problem Description:
The international standard letter/number mapping found on the telephone is
shown below:
Write a method that returns a number, given an uppercase letter, as follows:
public static int getNumber (char uppercaseLetter)
Write a test program (in the main method) that prompts the user to enter a phone
number as a string. The input number may contain letters. The program translates a
letter (uppercase or lowercase) to a digit and leaves all other characters intact.
Sample run: (red indicates user's inputs)
Enter a phone number as a string: 1-800-Flowers. look at photo Plz
 Problem Description: The international standard letter/number mapping found on the telephone

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!