Question: The faculty library classifies books by specialty (network, programming, etc.). Each specialty is identified by its Code and its Label. This information is stored in
The faculty library classifies books by specialty (network, programming, etc.).
Each specialty is identified by its Code and its Label. This information is stored in a linked list, each element of which also includes a NbrBooks field pointer to its list of available books.
for the number of books available ar specialty and a field Plie i is a
The list of books for each specialty is also a linked list headed by the PBook field of the specialty cell. Each book has its Number as an identifier, it has a Title, an Author's name, a Publisher's name, the Year of publication and the Number of pages. It is assumed that all the fields of the list of specialties are filled except the NbrLivres field. It is assumed that all the fields of the books are filled.
Write an algorithm containing: 1. NBLIV procedure: which calculates and updates the NbLivres field for each specialty?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
