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
You are going to write a function that computes the total interest charged on a credit card before it is paid off. List all the inputs the function will need.

- Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles. The user should be able to view all DVD titles in his library, add and d

Inbuilt Functions i).  Functions to manipulate strings The cstring library defines many functions to perform some manipulation operations with C-styled functions. The followi

Discuss the saleint featuresand application of c

A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation. For a string of t

Return by reference: The return value of the function must be an address variable.  In following program the function returns the value of x or y and their types are declare

derivations 1. Regardless of the type of derivation, private members are inherited by the derived class, but cannot be accessed by the new member function of the derived class,

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

http://www.expertsmind.com/questions/decodethecode-30110560.aspx

Project Description: I have software written with VB that i helped design, but now the original author died,(Neil Tromp), and the software ended up in the hands of someone else!