The Information Services Department at the Springfield Library has created methods with the following signatures: a. Design
Question:
The Information Services Department at the Springfield Library has created methods with the following signatures:
a. Design an interactive program that does the following, using the prewritten methods whenever they are appropriate.
- Prompt the user for and read a library card number, which must be between 1000 and 9999.
- Prompt the user for and read a search option-1 to search for a book by ISBN, 2 to search for a book by title, and 3 to quit. If the entry is invalid, repeat the request.
- While the user does not enter 3, prompt for an ISBN or title based on the user's previous selection. If the user enters an ISBN, get and display the book's title and ask the user to enter a "Y" or "N" to confirm whether the title is correct.
- If the user has entered a valid ISBN or a title that matches a valid ISBN, check whether the book is available, and display an appropriate message for the user.
- The user can continue to search for books until he or she enters 3 as the search option.
b. Develop the logic that implements each of the methods in Exercise 14a.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: