subject
Computers and Technology, 24.03.2021 17:40 yash797

This function prompts the user to input a book type. Then it displays the list of books that have the entered book type only. Lastly, it should display the number of books that met this requirement. This function should display both book's title and aisle number. See expected output below. // 05: displayBookTypeList (15 points) // This function prompts the user to enter a type name. This function then searches for books with this book type. // Parse through the linked list passed as parameter and print the matching book details ( title and aisle) one after the other. See expected output screenshots in homework question file. // HINT: Use inputs gathered in executeAction() as a model for getting the book type input. // NOTE: You may re-use some 02 displayBookList(list) code here. void displayBookTypeList(struct libraryList* tempList) { // Enter code here } 1/ 02: displayBookList (already implemented) // This function displays the book details (struct elements) of each book. 1/ Parse through the linked list 'list' and print the book details ( title and aisle number) one after the other. // Book type is not display in this function. // Notice that 'list' is passed to the function argument. Recursion is used to keep calling this function till end of list. void displayBookList(struct libraryList* templist) { if (tempList == NULL) // check if end of list is reached { printf("\n (end of list) \n"); return; } else { printf("\nBook Title: %s", tempList->book->title); printf("\nAisle number: %d\n", tempList->book->aisle); displayBookList(tempList->next); // move on to next book } } displayBookTypeList (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 1 Please enter book's type: Nonfiction Book Title: Sapiens Aisle Number: 1 ( Sapiens recently added book type as 'Nonfiction' which was added to tail of her *bookType list. So, it's name appears when l'option is used ).

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:10
10. when you create a pivottable, you need to specify where to find the data for the pivottable. is it true
Answers: 2
question
Computers and Technology, 22.06.2019 22:00
Competent nonverbal communication involves interacting with others in a manner that is appropriate for which of the following? select all that apply. situation task individuals
Answers: 3
question
Computers and Technology, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Technician a says that with self-adjusting clutch systems, the release bearing constantly rotates. technician b says that the ball bearing portion of the release bearing should be lubricated with high-temperature grease during routine maintenance. which technician is correct?
Answers: 2
You know the right answer?
This function prompts the user to input a book type. Then it displays the list of books that have th...
Questions
question
History, 16.12.2020 21:00
question
History, 16.12.2020 21:00
question
Physics, 16.12.2020 21:00
question
Mathematics, 16.12.2020 21:00
Questions on the website: 13722363