السلام عليكم والرحمة
اريد منكم مساعدة في عمل برنامج في اسرع وقت انا اشتغلت عليه شوي بس ما كملته ويمكن فيه اغلاط
وهذا السؤال
(Structures & Enumeration)
Programming Book Store needs to store and manipulate information about each book in the store. Each book has a title, author, ISBN number, publisher, month of the book first sold, price, and quantity. You may assume that there are no more than 100 books in store. Write a program to store the book info into an array of user define structure of type Book and perform the following analysis:
• Write a function add-New-Book which asks the user to enter the information of a new book and add the book to the end of the array.
• Write a function displayTable which prints a Seven-column table displaying the data in the array about the books.
• Write a function Search that search for a book according to its ISBN number and returns the position (subscript) of the book with that name.
• Write a function changePrice that accepts an ISBN number and new price for the book. The function should call the above function to search for that record and then change the price of the book to the new one.
• Write a function find_Total_New-Books which calculates the total number of the store. The function should return an array which contains all the totals. Use enumeration to represent each month.
• Write a menu-driven program to call the above functions with appropriate data according to the user choice.