1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
gladu [14]
3 years ago
6

Many companies use telephone numbers like 555-GET-Food so the number is easier for their customers to remember. On a standard te

lephone, the alphabetic letters are mapped to numbers in the following fashion:A, B, and C = 2D, E, and F = 3G, H, and I = 4J, K, and L = 5M, N, and O = 6P, Q, R, and S = 7T, U, and V = 8W, X, y, and Z = 9Write an application that asks the user to enter a 10-character telephone number in the format XXX-XXX-XXXX. The application should display the telephone number with any alphabetic characters that appeared in the original translated to their numeric equivalent. For example, if the user enters 555-GET-FOOD the application should display 555-438-3663.
Computers and Technology
2 answers:
Alex73 [517]3 years ago
7 0

Answer:

555-bug-kill

Explanation:

The application would display

555-384-5455

timurjin [86]3 years ago
4 0

print("Given the following was entered from the keyboard"

                "\n555-GET-FOOD:\n555-438-3663")

phoneNum = input()

newPhoneNumber = ""

for char in phoneNum:

   if char == 'A' or char == 'B' or char == 'C':

       char = '2'

   elif char == 'D' or char == 'E' or char == 'F':

       char = '3'

   elif char == 'G' or char == 'H' or char == 'I':

       char = '4'

   elif char == 'J' or char == 'K' or char == 'L':

       char = '5'

   elif char == 'M' or char == 'N' or char == 'O':

       char = '6'

   elif char == 'P' or char == 'Q' or char == 'R' or char == 'S':

       char = '7'

   elif char == 'T' or char == 'U' or char == 'V':

       char = '8'

   elif char == 'W' or char == 'X' or char == 'Y' or char == 'Z':

       char = '9'

       

   newPhoneNumber = newPhoneNumber + char

print(newPhoneNumber)

You might be interested in
Answer: x = 3<br>#1 -2x + 5 = -31​
OLga [1]
#1 answer:X=-18
Mdkdkkdkdkdkkdkdkdk
3 0
3 years ago
What software application can be used to send and receive email messaging and management appointments in calendar's
anyanavicka [17]

Answer:

Outlook

Explanation:

3 0
3 years ago
What is added to brining liquid to add flavour​
Inga [223]

Answer:

Wet brining is a method of adding flavor to a meat by soaking it in a salt solution prior to cooking. A general rule of thumb is to soak the meat in a solution of 1 cup of salt for 1 gallon of water. When cooked, the salt will stay in the meat, adding flavor, and the liquid will be cooked out.

7 0
3 years ago
Plz Help Me!! When you are done with the computer what should you do? Why/Why not?
erma4kov [3.2K]

Answer:

You should turn it off and plug it in so its fully charged the next day

Explanation:

7 0
4 years ago
Is the process of modifying something to make it fit certain criteria.
alexandr402 [8]

Answer:

Design Process

8 0
3 years ago
Other questions:
  • Operating systems that have windows and icons have which type of user interface?
    15·1 answer
  • Which topology enables only one person, at one time, to send data to others on the network?
    6·1 answer
  • Eric is working on a computer that has a device driver error. Eric can find the name of the device driver however the actual dev
    8·1 answer
  • Why when i create a powerpoint on word it doesn't open properly in other programmes
    5·1 answer
  • I play Among us :) hbu
    7·2 answers
  • Obtaining the data of a video file from a flash drive is an example of a(n) _________ operation.
    6·1 answer
  • What type of Microsoft Server serves as an email server?
    7·2 answers
  • What is it called when a additional document is added to an email
    13·2 answers
  • Assignment 4: Evens and Odds
    9·1 answer
  • We want to use image processing to detect cats in images, how do you do it? Please write down the steps.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!