The international standard letter/number mapping found on the telephone is shown below: Write a program that prompts

Question:

The international standard letter/number mapping found on the telephone is shown below:

Write a program that prompts the user to enter a lowercase or uppercase letter and displays its corresponding number. For a nonletter input, display invalid input.
Enter a letter: A
The corresponding number is 2
Enter a letter: a
The corresponding number is 2
Enter a letter: +
+ is an invalid input

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: