- c programming
how would you write a program that translates an alphabetic phone number into numeric form
enter phone number: CALLATT
I was given a website for help. However, it didn't help.
I would use a table lookup, for speed, do a binary search of the letters.
Many other options exist: IF tests can be used.
I don't know much about C. What you might want to do is see if you can take the input "CALLATT" and break it up into 7 different letters. Then have each letter assigned a numeric value.
Answer this Question
A cook needs 5 cups of vegetable stock for a soup recipe. How much is this in pints? Write your answer as a whole number or a mixed number in simplest form. Include the correct unit in your answer. And the units are, fl oz, C, pt, qt, gal. And you can
What are some characteristics of respectful phone communication? Select all the apply. A) Return phone calls promptly B) Introduce yourself immediately in voice mail of phone call C) State your purpose and be specific D) Provide your contact information
Chlorophyll, the green pigment in leaves, has the formula C55H72MgN4O5. If 4.5g of Mg is available to a plant for chlorophyll synthesis, how many grams of carbon will be required to completely use up the magnesium? (enter only your numeric answer, not in
Draw a flowchart or write pseudo code to represent the logic of a program that allows the user to enter values for the current year and the user’s birth year. The program outputs the age of the user this year. Preferably a pseudocode
In this exercise you will create a program that computes the average of a collection of values entered by the user. The user will enter 0 as a sentinel value to indicate that no further values will be provided. Your program should display an appropriate
What should you do before you share your information on the Internet? A. Ask a trusted adult to make sure it is safe.*** B. Check the information to make sure it is untraceable. C. Never provide your information on the Internet. D. Read the website
Write a program that will accept two numbers. The program must calculate the LCM and HCF of the numbers and display it.
Computer Programing & Logic Design
Submit pseudocode and a flowchart for the following programming exercise: Test Average and Grade Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Design the
Calculate the value of the following in exponential form, using standard scientific or "e" notation (for example, 105 = 1.05e2). Enter your answer with the correct number of significant figures. 885.75 g + 10.151 g - 25.50 g Calculate the value of the
A marketing research firm wishes to determine if the residents of Caldwell, Idaho, would be interested in a new downtown restaurant. The firm selects a simple random sample of 120 phone numbers from the Caldwell phone book and calls each household. Only 62