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 22:30
One of your customers wants you to build a personal server that he can use in his home. one of his concerns is making sure he has at least one backup of their data stored on the server in the event that a disk fails. you have decided to back up his data using raid. since this server is for personal use only, the customer wants to keep costs down. therefore, he would like to keep the number of drives to a minimum. which of the following raid systems would best meet the customer's specifications? a. raid 0 b. raid 1 c. raid 5 d. raid 10
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
question
Computers and Technology, 24.06.2019 14:00
Which describes careers that have similar education requirements but different qualifications? product safety engineers and materials engineers industrial safety engineers and industrial health engineers quality control systems managers and inspectors industrial safety and health engineers and hand packers
Answers: 3
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
Questions on the website: 13722361