In: Computer Science
Create a UEmployee class that contains member variables for the university employee name and salary. The UEmployee class should contain member methods for returning the employee name and salary. Create Faculty and Staff classes that inherit the UEmployee class. The Faculty class should include members for storing and returning the department name. The Staff class should include members for storing and returning the job title. Write a runner program that creates one instance of each class and prints all of the data for each object.
Note: For PreferredCustomer, add a public void method named makePurchase, which has one double value as its parameter. It's function is to add the parameter to the internal amount spent variable for the PreferredCustomer; and it will need to update the discount if this PreferredCustomer has reached a new rewards tier. Make sure your runner makes purchases that changes, and displays, new discounts for PreferredCustomers.
note: plzzz don't give dislike.....plzzz comment if you have any problem i will try to solve your problem.....plzzz give thumbs up i am in need....