friends please do me a help, please solve this:
All class must have encapsulation, constructor, destructor and in any one solution you must have to use operator overloading
1) Define a class name DVD_DB. Include the following members.DATA MEMBERS:
Name of DVD – private character array, size 10
Price – private double variable
Quantity – private int variable
A private static int variable to keep track of how many DVD have been created so far.MEMBER FUNCTIONS:
To assign initial values
To set price and quantity
To get price and quantity
To Print DVD
To display how many DVD has been created so far.
In main function use a DVD array and demonstrate a DVD shop. i.e. User can choose a DVD & buy it, when a DVD is sold the Quantity goes down.