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
The rPeANUt simulator provides buffering of the characters that are typed into the terminal. However, this would generally not be the case so if the program did not consume a chara

coloring of elements in matrix form inm particular matrix.the color should not match with another color.

my program does not run more than 9 iterations when ever i want to iterate more than 100 iterations. what is the reason and how to tackle?

write a promgram using object oriented peramid

To complete this assignment, edit the following constructors and methods: 1. public MaxPQ(Key[] keys) - change the following loop for (int k = N/2; k >= 1; k--) sink(k);

should i put define constant and memory constant in my flowchart? the other one, how to draw flowchart for break and continue statement?

how to do an array

Op e r a t o r P r e c e d e n c e a n d A s s o c i a t i v e l y : T h e op e r a t o r p r e c e d e n c e a n d i

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci

Programming Assignment #3: Vehicle Track Performance Tests Purpose: The purpose of this programming assignment is to give the student experience in using functions, arrays, and str