Hey guys, I need a little help
1. Write a class "Bulb" which has a private member - type bool!- "Balance", default constructor which sets the state to FALSE and public methods "PushTheButton" that will turn on and off the lamp and "Check" which will print out "Light" or "Dark" depends on the current state (0-dark, 1-light). Create an object "Turning" of class "Bulb" and turn it on and off several times.
2. Write a class "Employees" which has private data members: "path", "age" and "wages". Write constructor which initialized data members while creating a object. Write destructor which print out "Destructor employees - fired". Write an access method that can change some of the data members and methods that can get their value. Write a "friendly" function that calculates how much
employee has earned.
Note: the function accepts a reference to an object of class "Employees".
You need to calculate how much employee earned during his work
(months*number of working years*wages)