subject

Write 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 flower

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:10
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
question
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
question
Computers and Technology, 23.06.2019 01:00
Complete the sentence about a presentation delivery method
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
2. fluorine and chlorine molecules are blamed fora trapping the sun's energyob forming acid rainoc producing smogod destroying ozone molecules
Answers: 2
You know the right answer?
Write a functiongetNumber()that takes an upper case letter and returns thenumber according to the in...
Questions
question
Biology, 06.04.2020 22:23
question
Mathematics, 06.04.2020 22:23
Questions on the website: 13722363