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
Which of the following is not hardware?
Pachacha [2.7K]

Answer:

A

Explanation:

I think it would be A because i have never heard of a virus scanner

6 0
3 years ago
How can you find the square root of 8 using the pow() function
zimovet [89]

import math

print(math.pow(8, 0.5))

You can find the square root of any number by squaring it by 0.5

7 0
2 years ago
Many web browsers include _____ tools to make it easier for designers to locate the source of a style that has been applied to a
larisa86 [58]

Answer:

Developer tools.

Explanation:

The main aim of developer tools to loading the HTML(hypertext markup language), CSS and JavaScript it describes how much time takes the page to load in the web browser.

The developer tools make the task easier for the designer to locate the source code which is applied to a specific page element.​We can easily see the source code of the particular website by using the Developer tools. So it makes the task easier for programmers and developers.

4 0
3 years ago
Happy Valentine's day!!
Lorico [155]
Happy valentine’s u too !!
7 0
2 years ago
The first operating systems, in the 1950s, were designed for _____.
Leya [2.2K]

They were designed for batch processing.

Explanation

In the beginning, around the 1940s, electronic computers were built without Operating systems. These computers could not do basic calculations, read and write data, or run programs. Setbacks such as these led to the development of operating systems.

The first one was introduced in the early to mid-1950, and it relied on the batch processing systems to facilitate submission of data into groups. Rather than processing tasks individually, this system processed tasks in batches. Upon the completion of a job, the batch would head over to the OS’s software. The software would then dump the state of the active task and open the next one. This helped reduce operator intervention and time wastage.

Learn more:

  • How does operating systems work when passing parameters to kernel. brainly.com/question/6062548

#LearnwithBrainly

7 0
3 years ago
Other questions:
  • The code segment below uses the procedure IsPartOf (list, item), which returns true if item appears in list and returns false ot
    13·1 answer
  • Write a program that generates a random number between 5 and 15 and asks the user to guess what the number is. If the user’s gue
    5·1 answer
  • Describe the following types of data hazards. RAW WAR WAW
    13·1 answer
  • Which fact does lean green eco machines present to show that electric cars are not perfect
    13·2 answers
  • You're a ticket agent for a commercial airline and responsible for checking the identification for each passenger before issuing
    13·1 answer
  • . Consider the problem of finding the largest element in a list of n elements. What will be the basic operation of an algorithm
    9·1 answer
  • Most of the Desktop games contain a backdoor used to test and update the game.
    14·1 answer
  • Examples of analog computer
    8·1 answer
  • Which type of address is the ip address 232. 111. 255. 250?.
    15·1 answer
  • Post back maintains view state by assigning the form values to a hidden form field named ____.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!