- Every hard Disk has a capacity and Partition
- Every CD has capacity ,title and writeable or not
- Every DVD has capacity ,title
Use Inheritance Each class should have constructor and overload operator for every class.
Capactiy of medium :100 Capacity : 100 Number of Partition :2 Capacity :1000 Titke : Movie Writetable 1 Capacity :100 Title : Movie
0 Comments
If you have any doubt and suggestion Please let me know