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
Can anyone help my please
Makovka662 [10]

order: soil, plant seeds, water, seedling, corn plant

4 0
1 year ago
Read 2 more answers
Some scientists say that robots my become self - aware in the near future Do you think this is possible?​
galben [10]

Answer:

i believe that robots could become self aware because its called artificial intelligence, and that means that they can pretty much think for themselves

Explanation:

its just my opinion but i hope i helped!

6 0
2 years ago
¿Por qué es importante aprender a programar?
White raven [17]

Answer:

Es importante aprender a programar, por que es el mismo de que alguen aregle su carro. En estos tiempos, la technolagia se ha convertido en la nueva normal. Va vinir el tiempo quando nosotros necesitamos que arreglar un linia de codigo en nuestras computadoras, y no esta necesario para pagar alguen que ellos lo agan. Como quando necesitas que poner una llanta nueva a tu carro. Tu lo puedes cambiar solo. Entonses como el ejemplo del carro, tu puedes arreglar el linia de codigo en la computadora sin pagar alguen por acerlo.

7 0
2 years ago
An Acceptable Use Policy (AUP) are designed for the purpose of _____.
Vladimir79 [104]

Answer:

maximizing processing power

7 0
2 years ago
Why aren’t I leveling up? I have enough points and even a brainliest. Could an expert please help me!! I am really confused.
svlad2 [7]
This actually happened to me when I was supposed to be an expert. Answer one more question, log out and back in, and then you should be the next rank!
Hope this helps! Have a happy holiday!
8 0
3 years ago
Other questions:
  • Arrange these stages of website design in the order that they follow. developing planning learning designing testing and deliver
    12·1 answer
  • (Drag each tile to the correct box)While surfing online, Patricia first checks her email and reads the latest messages. She then
    8·1 answer
  • an object or device outside the computer, that one would plug into a port to control the functions of a computer are?
    9·2 answers
  • A list of pages within a Web site that you have visited and that usually appears at the top of a page is referred to as a(n) ___
    14·1 answer
  • A consumer is the name for:
    6·2 answers
  • Jiz<br>Active<br>2<br>3<br>- 2(7 - 15)<br>What is the value of<br>4​
    10·2 answers
  • Besides your computer, where else can you find and use an operating system?
    11·1 answer
  • Group of programs are software ​
    6·2 answers
  • (100 points ASAP PLease) Type the correct answer in the box. Spell all words correctly.
    13·1 answer
  • P.W. Singer jokes about how many people are using Wang computers. What point is he making with this joke?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!