Comments (3)
Update 1:
Add the initial template of the answer... Currently, the code is exactly the same as the answer to question 6.3.
from cplusplus-prog-exercises.
Update 2:
-
Defined a changePrice function to change the price of a book as and when required... Even though the question mentions it to be implemented as a private member function, I have implemented it as a
public member function since private functions can't be accessed by the objects of the class... -
Stock value of each book is automatically updated after each successful transaction.
-
Added a displayInventory function to display the details of the books present in the inventory.
-
Redesigned the main function of the Answer to accomodate the changes happened in the code.
from cplusplus-prog-exercises.
Update 3:
- Defined a function to show the number of successful and unsuccessful transactions by using static data members.
The answer to this question is complete and hence, this issue is now closed.
from cplusplus-prog-exercises.
Related Issues (20)
- Question 9.4 still remains unanswered. HOT 2
- Question 6.2 still remains unanswered HOT 1
- Question 6.3 still remains unanswered HOT 2
- Question 6.5 still remains unanswered HOT 2
- Question 7.1 still remains unanswered
- Question 7.2 still remains unanswered
- Question 7.3 still remains unanswered HOT 14
- Question 7.4 still remains answered HOT 4
- Question 7.5 still remains unanswered HOT 2
- Question 8.1 still remains unanswered HOT 4
- Question 8.2 still remains unanswered HOT 4
- Question 8.3 still remains unanswered HOT 12
- Question 8.4 still remains unanswered HOT 3
- Question 8.5 still remains unanswered HOT 3
- Question 8.6 still remains unanswered HOT 1
- Question 8.7 still remains unanswered HOT 1
- Question 9.1 still remains unanswered. HOT 3
- Question 9.2 still remains unanswered. HOT 3
- Question 9.3 still remains unanswered. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cplusplus-prog-exercises.