Description
This project pertains to a crude database stored in a file. Each record is 30 bytes long; the first 20 bytes represent a student’s name; the last 10 are a student’s telephone number. The names will be stored in ASCII (i.e. alphabetical) order. There will be no duplicate names in the database.
Your program should ask the user for a filename of a database, and then it should ask for a name.
Your program should then search the database for that name. If that name exists, your program should print out the telephone number. If that name does not exist, your program should print out the names that the input name would have fallen between.
Whether the name is present or absent, your program should print out the number of records it had to read before finding the giving name (or realizing that it wasn’t there).
And, of course, your program should use Binary Search! You should divide your program into appropriate methods, but the details of this are up to you.
alltiproraPhoneNumber.java.