Define a new class Assistant that represent a faculty member who works a certain number of hours each month. In this case, the salary is computed by multiplying the working hours by the hourly payment rate.
Create a new object of class Assistant and add it to the list created in the exercise above. Display its information including the salary.
1 answer
How can we help you?