Friday
September 19, 2014

Homework Help: computer

Posted by sweria on Thursday, December 23, 2010 at 1:16am.

Synex industries are a company based in Sri Lanka which is excels in nuclear waste management. The
company profile is given below.



Metric

Values

Company Name

Synex Industries

Total Number of Employees

1027

Nationality of Employees

Russian, Chinese, German and Sri Lankan

Levels of Employment

Director, Scientist, Engineer, Clerk and Drivers

Monthly Revenue

US $10 M (M = million)







Each employee of the company is paid on a daily basis. Daily pay rate of each profession is given in
the table below.



Profession(Code)

Daily Pay Rate($)

Director(1)

3000.00

Scientist(2)

2371.76

Engineer(3)

1500.00

Clerk(4)

756.60

Driver(5)

500.00





Apart from that the following taxes are levied on the gross pay (value generated by Daily Pay Rate x
Number of Days) of the employee for each month.





Tax

Percentage/Amount

EPF

8.50%

ETF

12.50%

NSL

2%

VAT

15%

Costume Cost

$500.00



Clarifications

Gross Salary = value without taxes (Daily Pay Rate x Number of Days)

Net Salary = value with taxes (Gross Salary – Total Taxes)

The steps below illustrates how salary is calculated

1. Calculate the gross salary
2. Calculate all the taxes (All percentage taxes are levied on the gross pay)



3. Calculate net pay per employee for a given month. (If in any case the net pay becomes a
negative value the costume cost will not be charged from that employee for that month.)




Implementation

1. You are required to implement the above mentioned scenario using Java. The test data file
(inputfile.txt) with the names of 1027 employees and their work days for 12 months is
provided for you.




2. Your program should calculate the salary for the 12 months when the file is given as a
command line parameter.




3. You are required to implement a simple command line interface to help user interactiveness.
The options required for this interface is given below with the respective definions
(1) Calculate Salary:- Should take the name of the input text file and produce a file named
salary2010.txt which consists of the employee name and the salary for each of the 12
months
(2) Total Taxes:- Should display the total taxes collected from each employee for each month.
The answer should be displayed in the console window.
(3) Total Profit:- Should display the company profits for each month after paying the net
salaries.
(4) Total Salary by Profession:- Should display the total salary for given professions once the
user enters the profession via a command line parameter. It should also show what
percentage it holds of the total salary.
(5) Exit:- Closes the program.

THARINDU RUKSHAN BAMUNUARACHCHI,4,30,21,13,17,14,18,21,19,27,12,30,12
THENNEHENE GEDARA THUSITHA ASELA BANDARA,4,8,22,0,17,28,7,28,16,12,31,4,24
BOGODA ARACHCHIGE DON ATHULA SANJEEWA BOGODA,3,30,13,7,1,25,17,13,27,29,16,1,4
DELPA GODAGE CHAMINDA,5,11,23,22,7,22,11,24,4,30,24,7,25
SAMARARATHNA KODIKARA KANKANAMGE LASITH SAMEERA CHANDRASEKARA,5,30,20,30,14,18,2,9,4,27,22,9,4
WANNI ARACHCHIGE NISHANI ERANDIKA CHANDRASIRI,1,0,27,24,19,5,6,20,30,30,22,30,25
UPUL IROSHAN WIJESEKARA ABAYAGUNAWARDHANA,5,15,0,26,6,12,27,14,18,14,15,27,26
ABEYSINGHE MOHOTTALALAGE NUWAN ABEYSINGHE,4,21,4,29,15,27,14,12,21,15,31,12,19
NUWAN SANJEEWA ABEYSIRIWARDANA,2,15,25,5,2,30,12,18,18,22,4,23,29

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

precal - Spider Industries is a U.S.-based company that test-marketed an ...
precal - types of functions - Spider Industries is a U.S.-based company that ...
precal - Spider Industries is a U.S.-based company that test-marketed an ...
Finance - Suppose you own a stock in a company. The current price per share is $...
math - company A:1/5 company B:4/25 company C:2/5 company D:3/20 how much more ...
math - company A:1/5 company B:4/25 company C:2/5 company D:3/20 Question:What ...
Finance - Lance Industries borrowed $130,000. The company plans to set up a ...
human resource management - •Explain how the number of employees in the company...
math - company A:1/5 company B:4/25 company C:2/5 company D:3/20 How much ...
M/C - A researcher studies the effectiveness of managers at a small company ...

Search
Members