Put all the records in to appropriate objects put all the


Problem: Following is a small java assignment please do it in java (if not too hard also in javascript)

Read the following data from a file:

Executive,Mr,Moshe,Roth,250000

Supervisor,Mr,Chaim,Stark,150000

Supervisor,Mr,Moshe,Spira,160000

Manager,Mr,Yehuda,Gold,120000

Manager,Mrs,Miriam,Weiss,120000

Employee,Mr,Shlomo,Green,65000

Employee,Mrs,Ester,Silver,75000

Employee,Mr,Yakov,Weiser,70000

Put all the records in to appropriate objects

Put all the objects in to a data structure

Loop through the data structure and print out (on screen)

Title,First Name, Last Name, Bonus (in currency format)

The bonus being the following rules:

Executive - 20% of salary

Supervisor - 10% of salary

Manager - 8% of salary

Employee - 5% of salary

Ex. Mr,Moshe,Roth,$50,000.00.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Put all the records in to appropriate objects put all the
Reference No:- TGS01269677

Now Priced at $30 (50% Discount)

Recommended (95%)

Rated (4.7/5)