Question: The program Telephone Digits outputs only telephone digits that correspond to uppercase letters. Rewrite the program so that it processes both uppercase and lowercase letters
The program Telephone Digits outputs only telephone digits that correspond to uppercase letters.
Rewrite the program so that it processes both uppercase and lowercase letters and outputs the corresponding telephone digit.
If the input is something other than an uppercase or lowercase letter, the program must output an appropriate error message The error message should contain the phrase Invalid input
Task #: Correct output for lowercase test cases
Task #: Correct output for lowercase and uppercase test cases
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
