subject

(telephone-number word generator) standard telephone keypads contain the digits zero through nine. the numbers two through nine each have three letters associated with them fig. 1 below. many people find it difficult to memorize phone numbers, so they use the correspondence between digits and letters to develop seven-letter words that correspond to their phone numbers. for example, a person whose telephone number is 686-2377 might use the correspondence indicated in fig. 1 to develop the seven-letter word "numbers." every seven-letter word corresponds to exactly one seven-digit telephone number. a restaurant wishing to increase its takeout business could surely do so with the number 825-3688 (i. e., "takeout").every seven-letter phone number corresponds to many different seven-letter words, but most of these words represent unrecognizable juxtapositions of letters. it’s possible, however, that the owner of a barbershop would be to know that the shop’s telephone number, 424-7288, corresponds to "haircut." a veterinarian with the phone number 738-2273 would be to know that the number corresponds to the letters "petcare." an automotive dealership would be to know that the dealership number, 639-2277, corresponds to "newcars."2a b c5j k l8t u v3d e f6m n o9w x y4g h i7p r sfig. 1 telephone keypad digits and letters. write a program that, given a seven-digit number, uses a formatter object to write to a file every possible seven-letter word combination corresponding to that number. there are 2,187 (37)(37) such combinations. avoid phone numbers with the digits 0 and 1.use the phonetest. java to test your program.// exercise 15.7 solution: phonetest. java// testing the phone class. import java. util. scanner; import java. util. nosuchelementexception; public class phonetest {public static void main(string[] args) {scanner scanner = new scanner(system. in); phone application = new phone(); system. out. print("enter phone number (digits greater than 1 only): "); try {application. calculate(scanner.; }catch (nosuchelementexception elementexception) {system. err. println("error inputting data."); }}}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
What computer network component allows data transfers from one computer to another through a telephone line?
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
question
Computers and Technology, 24.06.2019 18:30
After making a powerpoint presentation about a new line of clothing designs, henri notices that he used the word “gorgeous” on nearly every slide. what would be the  best  way to add more variety to his wording by using tools within powerpoint? using the thesaurus under the view tab, and then using the find dialog box to find and replace every instance of “gorgeous”using the spelling checker under the view tab, and then using the find dialog box to find every instance of “gorgeous” and change some of themusing the thesaurus under the review tab, and then using the find dialog box to find every instance of “gorgeous” and change some of themusing the spelling checker under the review tab, and then using the find dialog box to find and replace every instance of “gorgeous”
Answers: 2
question
Computers and Technology, 24.06.2019 19:00
In python a floating-point number must be written using scientific notation?
Answers: 1
You know the right answer?
(telephone-number word generator) standard telephone keypads contain the digits zero through nine. t...
Questions
question
Mathematics, 19.10.2019 23:30
question
History, 19.10.2019 23:30
question
Mathematics, 19.10.2019 23:30
Questions on the website: 13722363