subject

Write a program that has an array of at least 50 string objects that hold people’s names and phone numbers. the program then reads lines of text from a file named phonebook into the array. the program should ask the user to enter a name or partial name to search for in the array. all entries in the array that match the string entered should be displayed-- thus there may be more than one entry displayed. prompts and output labels. the program prints the message "enter a name or partial name to search for: " and then after the user enters a some input and hits return, the program skips a line, and prints the heading: "here are the results of the search: ", followed by each matched string in the array on a line by itself.
a. input validation.
b. none.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:10
Suppose we have a byte addressable computer that has a 32-byte cache with 8 bytes per block. the memory address is 8 bits long. the system accesses memory addresses (in hex) in this exact order: 6e, b9, 17, e0, 4e, 4f, 50, 91, a8, ab, ad, 93, and 94. (a) assuming the cache is direct mapped, what memory addresses will be in cache block 2 after the last address has been accessed? (b) assuming the cache is direct mapped, what is the hit ratio for the entire memory reference sequence given, assuming the cache is initially empty? (c) assuming the cache is 2-way set associative with a lru replacement policy, what is the hit ratio?
Answers: 3
question
Computers and Technology, 22.06.2019 10:50
Write a 3-4 page apa formatted paper comparing your organization’s it strategy with the best practices outlined in your course text. content should include, but not be limited to: developing and delivering on the it value, developing it strategy for the business value and linking it to business metrics. your paper should include an abstract and a conclusion and a reference page with 3-5 references
Answers: 1
question
Computers and Technology, 22.06.2019 13:00
Which option should u select to ignore all tracked changes in a document
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
You know the right answer?
Write a program that has an array of at least 50 string objects that hold people’s names and phone n...
Questions
question
History, 08.05.2021 01:00
question
Mathematics, 08.05.2021 01:00
question
Mathematics, 08.05.2021 01:00
Questions on the website: 13722360