Computer Science, asked by zafarhamza139, 1 day ago

A book shop maintains the inventory of books that are being sold at the shop. The list includes details such as id, author, title, price, publisher and stock position for each book.  Whenever a customer wants a book, the sales person inputs the title and the author and the system searches the list(array) and displays whether it is available or not.  If it is not available, an appropriate message is displayed.  If it is available, then the system displays the book details and requests for the number of copies required. o If the requested copies are available, the total cost of the requested copies is displayed, otherwise, the message "Required copies not in stock" is displayed  The stock value of each book should be automatically updated as soon as a transaction is completed.  The number of successful and unsuccessful transactions should be recorded for the purpose of statistical analysis. Use static data members to keep count of transactions  User must be able to add a new book to the system. Whenever the new book is added it must have a unique id assigned to it.  At the end display the total number of books along with unique ids. Design a system using a class called books with suitable member functions and constructors. Write a complete menu driven program with all the options mentioned in the problem. You are required to first write and use the functions to fill the list (array of books) with the values and then perform the above operations.
Write A Program in C++​

Answers

Answered by Richstar
0

Answer:

I don't know dkkdlwlencj2ooe

Answered by s02371joshuaprince47
0

Answer:

#include <stdio. h>

int main(){

printf("Hello C Language");

return 0;

}

hope it helps u !!

Similar questions