السلام عليكم
اخواني هذا السؤال تعبنا ما عرفتة وانا توني مبتدا في اللغة يا ليت تساعدوني
َ:Q For this part, write the class definitions for the following classes (described using UML notations). Product IDs range from 1 to 10000, while employee IDs range from 1000 to 9999. Product ID: Integer name: String displayInfo() Customer name: String phone: String displayInfo() Employee ID: Integer name: String birthDate: Date hireDate: Date salary: Number displayInfo() Tasks: 1. Create one file called Store.cpp and put all class definitions in it. 2. Put your name and ID # as comments in the beginning of the file. 3. Add a main() function at the end of the Store.cpp file. 4. Save, compile, and test your program to make sure you don’t have any errors. 5. Add one constructor for each class. The constructor should receive (as parameters) all the information of the class object, as listed in the UML class diagrams. Add the necessary code in the class constructor to initialize the data members of each class. The constructor should validate all passed arguments before assigning them to data members. After adding code to one of the constructors, compile, link, and run your project to make sure you still have no errors. 6. Add the necessary code to implement the displayInfo() function of each class. 7. In main(), create one object of each class and call its displayInfo(). 8. Save, compile, and test your program and make sure you don’t have any errors. 9. When you are done, upload your Store.cpp to the Assignments section in WebCT. Note: You should use the Principle of Least Privilege when defining the prototypes of member functions
اتمنى تساعدوني ولكم جزيل الشكر