people sometimes give their phone numbers using


People sometimes give their phone numbers using one or more alphabetic characters. Create a program that converts the alphabetic characters to their corresponding numbers. For example an entry of NUMBER1 or number1 should return 686-2371. Assume only a 7-charcter entry can be input. Your output should be in the format XXX-XXXX. Below is the translation table from alphabet to number.

ABC: 2

DEF: 3

GHI: 4

JKL: 5

MNO: 6

PQRS: 7

TUV: 8

WXYZ: 9

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: people sometimes give their phone numbers using
Reference No:- TGS0212345

Expected delivery within 24 Hours