void removeBook(int bins], double prices], int *size); This function will receive the arrays containing the bin numbers and the prices as parameters. It will also receive a pointer to an integer which references the current size of the list (number of books in the list). The function will check if the list is not empty. If it is not empty (size > 0) then it will search for the bin number to be removed and if not found will display an error message. If the bin number exists, the function will remove it and shift all the elements that follow it to the left of the array. Same will be done to remove the price of the book from the prices array.



Answer :

Other Questions