Generate a program that prompts the user to enter a


Please help with 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.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Generate a program that prompts the user to enter a
Reference No:- TGS02757662

Now Priced at $10 (50% Discount)

Recommended (90%)

Rated (4.3/5)