Question
Create a Java program that simulates a simple library book tracking system. The library has a fixed number of books, and the program should allow the librarian to view, update, and search the books. The program must utilize one-dimensional arrays to manage the information. Most of the requirements have been fulfilled. Starter code is given. Fill in what is missing
Example Output:
Welcome to Library Book Tracker!
1. View Catalog
2. Search Book
3. Add Book
4. Exit
Select an option: 1
Book Catalog:
1. Moby Dick
2. The great Gatsby
3. To kill a mockingbird
...
Select an option: 2
Enter book title to search: Moby Dick
Book found at position 1!
Select an option: 5
Goodbye!
Example Output:
Welcome to Library Book Tracker!
1. View Catalog
2. Search Book
3. Add Book
4. Exit
Select an option: 1
Book Catalog:
1. Moby Dick
2. The great Gatsby
3. To kill a mockingbird
...
Select an option: 2
Enter book title to search: Moby Dick
Book found at position 1!
Select an option: 5
Goodbye!
Answers
There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.