Problem

For this chapter's assignment you will add searching capabilities to the addaook, lo...

For this chapter's assignment you will add searching capabilities to the addaook, lookUpBook, editBoolc, and deleteBook functions.

Modify the editBook Function

The editBook function is currently a stub function. Modify it so it performs the lo' lowing tasks:

• It should ask the user for the title of a book. This is a book whose data are to he edited.

• The function should search the bookTitle array for a title that matches the one entered by the user. If no match is found, the function should display a message indicating that the book is not in inventory, and terminate. If the book is found, the function should call bookInfa, passing the correct data as arguments.

• The function should ask the user which of the fields he or she wishes to change. The user is then allowed to enter new values for the selected field. These new val- ues are saved in the arrays, replacing the old values.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT