![]() |
| ||
| Urgent solution needed..... A Book shop maintains the inventory of books that are being sold at the shop. The list includes details such as author , title , price , publisher and stock position. Whenever a customer wants a book , the sales person inputs the title and author and the system searches the list and displays whether it is available or not. If it is not, an appropriate message is displayed. If it is, then the system displays the book details and requests for number of copies required. 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. Design a system using a class called books with suitable member functions and constructors. Use new operator in constructiors to allocate memory space required. Improve the sytem design to incorporate the following features : a. The price of the books should be updated as and when required. Use a private member function to implement this. b. The stock value of each book should be automatically updated as soon as a transaction is completed. c. 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. Modify the program to demonstrate the use of pointers to access the members. |
| ||
| Re: Urgent solution needed..... I'll do it for $500. |
| ||
| Re: Urgent solution needed..... Are you sure that daniweb is the best place for lazy pupils? Read this: http://www.daniweb.com/forums/announcement8-2.html |
| ||
| Re: Urgent solution needed..... > I'll do it for $500. I'll do it for $5000. |
| ||
| Re: Urgent solution needed..... Quote:
|
| ||
| Re: Urgent solution needed..... Wow, an inverse auction in progress! :O |
| ||
| Re: Urgent solution needed..... You will require a class named book and a vector of books ,etc. Give it a try. |
| ||
| Re: Urgent solution needed..... hey guys...m damn serious yar... plz provide me wid da soln na...plz.... |
| All times are GMT -4. The time now is 4:45 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC