Program for search the telephone number

Assignment Help C/C++ Programming
Reference no: EM13856418

To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be shown as GET LOAN. In some cases, to make a telephone number meaningful, companies must use more than seven letters. For example, 225-5466 can be displayed as CALL HOME, which uses eight letters.

Write a program that prompts the user to enter a telephone number expressed in letters and outputs the corresponding telephone number in digits. If the user enters more than seven letters, then process only the first seven letters. Also output the-(hyphen) after the third digit. Allow the user to use both uppercase and lowercase letters as well as spaces between words.

Reference no: EM13856418

Questions Cloud

Present value analysis : James Hardy recently rejected a $20,000,000, five-year contract with the Vancouver Seals. The contract offer called for an immediate signing bonus of $7,500,000 and annual payments of $2,500,000. To sweeten the deal, the president of player..
Write an application to simulate distributing furniture : Write an application to simulate distributing furniture from Whole sale center to different stores in Java programin
What role social media plays in organisations decision : What role social media plays in organisations decision making?
Create journal entry to account for transportation costs : May 1, 2012--Joe purchased flour for his doughnut business and put the total on his account at Flour Mill, Inc. The cost of the flour is $620, plus shipping of $60. Create the journal entry to account for transportation costs.
Program for search the telephone number : To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be shown as GET LOAN.
Explain challenges that might impact these goals : Explain 2-3 short-term goals (1-4 years) for your organization. Explain challenges that might impact these goals. Include how the organization might overcome these challenges
Calculate the payback period and net present value : The tax rate is 30%, and the cost of capital is 14%. Calculate the payback period and Net Present Value followed by your recommendations.
Why did it take so long for a stable democratic regime : Why did it take so long for a stable democratic regime to take hold in France - How did de Gaulle's changes to the country's institution and social, political, and economic processes contribute to the creation of an effective industrial state?
Smoking creates negative consumption externality : Smoking creates negative consumption externality as the social cost of smoking is much higher than its private cost. Prop 86 of the Nov 7, 2006 election proposes to impose an additional tax of $2.60 per pack of cigarette. Does this tax increase the s..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program using a function and a series

Write a program using a function and a series of if...else statements - You may decide to limit the number entered by the user to a particular range. Make sure to prompt the user with this range, so you can deal with correct and incorrect numbers e..

  Write a sumo robot c program

Write a sumo robot c program for an aduino board, using 2 motors. 2 phototransistors and 2 Led sensors( sensors 2 for the front and 2 for the back ) which are going to be responsible for keping the robot in the sumo ring, making sure the robot com..

  The rpn calculator program

The RPN calculator program should read the RPN expression as an entire line from stdin.Input will consist of a single line. After completing the evaluation of the expression, the program should print the contents of the entire stack, starting with th..

  Write a program to display the total salary for assistant

Write a program to display the total salary for assistant professors, associate professors, full professors, and all faculties, respectively, and show the average salary for assistant professors, associate professors, full professors, and all facu..

  Investigate the use of the random generator function

For this assignment you will have to investigate the use of the C++ random generator function, rand(). Rand() produces a random integer in the range of 0 to RAND_MAX (a constant -- often 32767 -- defined in the stdlib, automatically included in al..

  Skills required by personnel working in information security

What skills are required by personnel working in information security? Write down some job titles in the field and come up with some required qualifications and some desirable qualifications.

  Write an app that uses string method

Write an app that uses string method CompareTo to compare two strings input by the user. Output whether the first string is less than, equal to or greater than the second

  Program to translates letter grade into number grade

In C++ (should be able to compile in Visual Studio 2010): Write a program to translates letter grade into number grade. Letter grades are A,B,C,D and F, possibly followed by a + or -.

  Write a c++ program to first find ''n'' fibonacci numbers

Write a C++ program to first find 'N' Fibonacci numbers and then display only the "even" Fibonacci numbers in "descending order" as output.

  Write a single statement that prints a number

Write a single statement (in C++ language) that prints a number at random from each of the following set.

  Image text transcribed for accessibility

Image text transcribed for accessibility: write a program that requires the number of bits for the exponent and significant of a floating point representation, then requires two decimal real numbers and an operation,sum,subtraction or multiplic..

  Write a c program that will calculate the gross pay

Write a C program that will calculate the gross pay of a set of employees. For each employee the program should prompt the user to enter the clock number, wage rate, and number of hours as shown below.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd