Create a program that converts numbers to characters, C/C++ Programming

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

Posted Date: 3/19/2013 3:34:40 AM | Location : United States







Related Discussions:- Create a program that converts numbers to characters, Assignment Help, Ask Question on Create a program that converts numbers to characters, Get Answer, Expert's Help, Create a program that converts numbers to characters Discussions

Write discussion on Create a program that converts numbers to characters
Your posts are moderated
Related Questions

A: Use operator overloading to present a friend right-shift operator, operator>>. It is similar to the output operator, except the parameter doesn't contain a const: "Fred&" instea


It is standard on functions to provide some indication that the function has succeeded in its operation. Consider the Scanf function:     scanf("%d",&number1);   If the functio

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4


#decode the code

A: you can exploit by overloading standard operators on a class, the intuition of the users of that class. This allow users program in the language of the problem domain instead of

The absolute land-speed record of 763.035 MPH (Mach 1.02) was set in October 15 1997 by a jet-powered car called Thrust SSC in the Black Rock Desert of northern Nevada. The team th

pseudocode for gregorian calendar