Many companies use telephone numbers like 555-get-food so


Many companies use telephone numbers like 555-GET-FOOD so the number is easier for customers to remember. On a standard telephone, the alphabetic letters are mapped in the following fashion:A, B, C = 2 D, E, F = 3 G, H, I = 4 J, K, L = 5 M, N, O = 6 P, Q, R, S = 7 T, U, V = 8 W, X, Y, Z = 9 Write a C program that lets the user enter a 10-character telephone number in the format XXX-XXX-XXXX. The program should display the telephone number with any alphabetic characters that appeared in the original translated to their numeric equivalent. For example, if the user enters 555-GET-FOOD, the program should display 555-438-3663.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Many companies use telephone numbers like 555-get-food so
Reference No:- TGS02253187

Now Priced at $10 (50% Discount)

Recommended (95%)

Rated (4.7/5)