Question: I have no idea how to write this code! please help! // hwe8 Q1: buy_book (15) // In this function, you should return the linked

I have no idea how to write this code! please help!

I have no idea how to write this code! please help! //

// hwe8 Q1: buy_book (15) // In this function, you should return the linked list of books that the user wants to buy // The user should be able to buy as many books as he/she wants until 'n' is pressed // The user can buy a book using its title. // The book that the user is going to buy should be on the main linked list. struct container *buy_book(O // hw08 Q2: setfbt (25) // hen a user buys a book, the frequently bought togther(fbt) linked list should be updated for each book. // The update in fbt list should be done for each book in the buying list // For simplicity, you do not consider the number of times the books are bought. struct container* setfbt (struct container * in) /I hwe8 Q3: display fbt (10) I1 This function prints the list of books for a given container. // It should both print the details of each book and the fbt for that book. // This function is used to print the book list in the buy option. void display_fbt(struct container* books)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!