Write a function that returns a number, given an uppercase letter, as follows:
Write a test program that prompts the user to enter a phone number as a string. The input number may
contain letters. The program translates a letter (upper- or lowercase) to a digit and leaves all other
Here is a sample run of the program:
Enter a string: 1-800-Flowers
Enter a string: 1800flowers
Click here to have a similar A+ quality paper done for you by one of our writers within the set deadline at a discounted rate!
The question first appeared on Write My Essay