помогите написать код с++
Class declaration and inheritance
Declare abstract class person with private properties name and salary, their accessors and mutators, and virtual method int getBonus()
Declare classes employee and manager which derives from class person.
Constructors
For all classes implement default, parameter and copy constractors. In corresponded cases apply constructor inheritance.
Polymorphism
Implement method getBonus for classes employee and manager. Method in employee class should return 10% of salary, while in manager class - 30%
Overload of input and output operators for class person to read and write it in form "name salary". (without quotes)
Handling exceptions
Make setSalary mutator to throw out_of_range exception if value to set is below zero.