Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please help me with answerjng Q6: removeBook function. The output its suppose to look like is shown in the other picture removeBook (15 points) CSE
please help me with answerjng Q6: removeBook function. The output its suppose to look like is shown in the other picture removeBook (15 points) CSE 240 HW 7 Please enter your selection: a: add a new book to the list d: display book list (no book type) b: search for a book on the list c: add a book type of a book 1: display books who have a specific book type r: remove a book q: quit Please enter book's title: Sapiens Book title successfully removed from the list! (After removing a book, you should use the display option to verify it functioned correctly) 1/ 06: removeBook (15 points) // This function removes a book from the list. // Parse the list to locate the book and delete that 'book' node. // You need not check if the book exists because that is done in executeAction() 11 removeBook() is supposed to remove book details like title and aisle number. // The function will remove bookTypes of the book too. 1/ When the book is located in the 'list', after removing the title and alsle number, parse the "bookType list of that book Il and remove the book types. void removeBook(char* bookTitleInput) struct libraryList* templist = list; struct bookType tempBookType; // work on a copy of 'list' // Enter code here removeBook (15 points) CSE 240 HW 7 Please enter your selection: a: add a new book to the list d: display book list (no book type) b: search for a book on the list c: add a book type of a book 1: display books who have a specific book type r: remove a book q: quit Please enter book's title: Sapiens Book title successfully removed from the list! (After removing a book, you should use the display option to verify it functioned correctly) 1/ 06: removeBook (15 points) // This function removes a book from the list. // Parse the list to locate the book and delete that 'book' node. // You need not check if the book exists because that is done in executeAction() 11 removeBook() is supposed to remove book details like title and aisle number. // The function will remove bookTypes of the book too. 1/ When the book is located in the 'list', after removing the title and alsle number, parse the "bookType list of that book Il and remove the book types. void removeBook(char* bookTitleInput) struct libraryList* templist = list; struct bookType tempBookType; // work on a copy of 'list' // Enter code here
please help me with answerjng Q6: removeBook function. The output its suppose to look like is shown in the other picture
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started