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

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

Write a C++ program that calculates the area of a circle, rectangle and square using overloaded versions of a function area ().Your program should include both declarations and def

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Develop a Motion sensor in Altera control Project Description: I want a project written in c using Altera eclipse development tool, that controls a motion sensor ( SRF05 ) fr

Q: however shouldn't I always use a printOn() method instead of a friend function? A: No. The usual cause people wish to always use a printOn() method instead of  a friend fu

(a) Write a procedure called (add x y) that adds two numbers in a recursive manner. Specifically, note that x + y = (x + 1) + (y - 1) and x + 0 = x. (b) Using the substitution m

You are to implement a code cracking system. The system will deploy four processes (p1,p2,p3 & p4) to try to guess the password of an encrypted code. For encryption, we consider th

develop a program read the following information from the keyboard in which base class consist of employee name code and destingnation the derived class contain the data members th

write a program that can accept numbers and perform all the four arithmetic operation