CIS 068 / 2: Lab - Assignment #3: Springfield Company

Assume a company having 3 types of employees: Consultants are payed by rate per hour(RPH) , having no base salary (BS).
Secretaries only have a base salary, whereas executives receive an additional bonus of a percentage of their salary (BP).
Secretaries and executives are not receiving any payments per hour.

These are the employees:

Write a program listing all names, the monthly income and the sum of all monthly incomes.
This program MUST take advantage of the structure of the given data, i.e.:
there must be the classes: The main-method, placed in the class springfieldCompany, MUST contain the employees in an Employee-array:
Employee theEmployees[] = new Employee(8)
This array MUST be used to compute the output !

Total points: 5


You can earn a bonus of up to 1.5 points, if the program program provides the possibility of adding other employees interactively (= by user-input) !