question archive The following program question Generate a program that prompts the user to enter a telephone number expressed in letters and outputs the corresponding telephone number in digits If the user enters more than seven letters, then process only the first seven letters Also output the – (hyphen) after the third digit Allow the user to use both uppercase and lowercase letters Your program will terminate after processing a single telephone number
Subject:Computer SciencePrice: Bought3
The following program question
Generate a program that prompts the user to enter a telephone number expressed in letters and outputs the corresponding telephone number in digits If the user enters more than seven letters, then process only the first seven letters Also output the – (hyphen) after the third digit Allow the user to use both uppercase and lowercase letters Your program will terminate after processing a single telephone number.