Question: Write a telephone lookup program. Read a data set of 1,000 names and telephone numbers from a file that contains the numbers in random order.
Write a telephone lookup program. Read a data set of 1,000 names and telephone numbers from a file that contains the numbers in random order. Handle lookups by name and also reverse lookups by phone number. Use a binary search for both lookups.
Step by Step Solution
3.44 Rating (173 Votes )
There are 3 Steps involved in it
PhoneLookupjava import javaioFileReader import javaioIOException import javautilScanner public class PhoneLookup public static void mainString args th... View full answer
Get step-by-step solutions from verified subject matter experts
