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
in a program for what purpose print f and scan f is used

Many modern cryptography algorithms require two numbers that are coprime, or sometimes referred to as relatively prime. Two numbers are coprime if their greatest common divisor is

Explain each of the algorithms in a way that would be understandable to an intelligent person who is not familiar with programming. You should not use any code (or even pseudo code

Write a function to calculate the exchange rate of pounds to dollars  Answer       Td = 2xTp   The parameter passed over is the number of pounds and returned the value in do

Program is to define a class as student: Program is to define a class as student and display the records specific depending upon the number class student  {  private:

write a c++ program to accept 3 numbers and find the largest of 3 numbers

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

Assume we wish to partition the square roots of the integers from 1 to 100 in to two piles of fifty numbers every, such that the sum of the numbers in the first pile is as close as

real time application of b tree

Implementing Operator Functions The general format of the Operator function is: return_type operator op ( argument list );   Where op is the symbol for the operator be