need help with an inventory program
:confused: I have been trying for 5 weeks now to write a simple inventory program for a "book store". The program is suppose to update the inBooks file each time a book is sold or delivered into the inventory system. It is suppose to display a menu, list all inventory items, list a single book, sell one book, add inventory, and sort books in alphabetic order by book title. I am having problems in the last 3 functions with the error "local function definitions are illegal. I am taking the errors in the bookDelivery, dailySalesReport, and updateFile functions. In addition to the above errors I am also taking an unexpected end of file found after the last curly brace in the updateFile function. I would appreciate any and all help as this assignment is due Thursday, 9/13. A big thank you to any and all that can help me with the errors.