Oop(Object Oriented Programming) Project for final year students
Project Description: Write the C++ Code for the following parts A. Create a class Product. Also create two descendants (derived from Product class) Food and Clothes. B. The class Product must have a data members Product_Id, Price and Name. It contains a constructor to initialize the data members and “getdata ()” method to store the values in data members. C. The class " Clothes " will have additional data members Color. The Clothes class also contains a constructor to initialize the data members and “getdata ()” method to store the values in data members. It additionally contains · storedata () method to store data in file named as “Clothes.txt” · ...
Comments
Post a Comment