subject
Engineering, 25.02.2020 21:47 bs036495

The international standard letter/number mapping for telephones is:{A, B, C} -> 2{D, E, F} -> 3{G, H, I} -> 4{J, K, L} -> 5{M, N, O} -> 6{P, Q, R, S} -> 7{T, U, V} -> 8{W, X, Y, Z} -> 9Write a functiongetNumber()that takes an upper case letter and returns thenumber according to the international standard above. Write a test program that prompts the user to enter a phone number as a string. The input number may contain letters. The program translates a letter (uppercaseor lowercase) to a digit and leaves all other characters intact. Here are sample runs of the program:Enter a string: 1-800- Flowers1 -800 -3569377Enter a string: 1800 flowers18003569377

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Line joining liquid phase with liquid and solid phase mixture is known as: a) liquidus b) solidus c) tie line d) none of the mentioned
Answers: 2
question
Engineering, 03.07.2019 15:10
If you were designing a bumper for a car, would you prefer it to exhibit elastic or plastic deformation? why? consider the functions of a bumper in both a minor "fender-bender" and a major collision.
Answers: 1
question
Engineering, 04.07.2019 18:10
The mass flow rate of the fluid remains constant in all steady flow process. a)- true b)- false
Answers: 1
question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
You know the right answer?
The international standard letter/number mapping for telephones is:{A, B, C} -> 2{D, E, F} ->...
Questions
Questions on the website: 13722360