Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Case Study 2—An Inventory Table > 15.5 ADDING A NEW PRODUCT'S DATA

15.5 ADDING A NEW PRODUCT'S DATA

pseudocode for adding data…
read in a new code value, name, instock value
calculate location using hash function
if no spare location
     write out 'No room'

else
     store code, name, instock at the location
endif


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial