Java Programming challenge: a.) problem definition: 1.)The program should ask the user to enter employee name department code number of hours worked status code name employees’ position / employees’...


Java Programming challenge:


a.) problem definition:


1.)The program should ask the user to





    • enter employee name

    • department code

    • number of hours worked

    • status code name

    • employees’ position / employees’ position code

    • sub-position code




2. )Create a program that will compute for the gross income of the employee by multiplying the number of hours worked into his rate per hour based on the employees’ position or sub-position identified in each department.


3.)To compute the total deductions by adding the percentage from BIR and Security Taxes based on his/her civil status And compute for the net income by subtracting the total deductions from the gross income.


sample output attached:


please show java code,


5. Programming Challenge:<br>The easiest way to find the net salary of employee is by first taking the values of<br>gross salary, income tax, provident fund and professional tax in the main function and|<br>directly use the below formula.<br>Net Salary = Gross Salary – Income Tax – Public Provident Fund – Security Tax<br>But to Create a program that would be compute salary of an employee based on the<br>information indicated in the table given below.<br>Sub-<br>Dept.<br>Position<br>Sub-<br>Rate Per<br>Dept.<br>Position<br>Position<br>Code<br>Code<br>Position<br>Hour<br>Code<br>Senior<br>011A<br>1000<br>Programmer<br>Junior<br>Programmer<br>011<br>011B<br>700<br>Programmer<br>System<br>Analyst<br>MIS<br>MIS<br>012A<br>1000<br>Analyst<br>012<br>Data<br>012B<br>800<br>Analyts<br>Advertiser<br>Staff<br>021<br>500<br>Marketing<br>MKT<br>022<br>400<br>Chief<br>031<br>600<br>Accounting<br>ACT<br>Cashier<br>032<br>400<br>STATUS<br>STATUS CODE<br>BIR TAX<br>SECURITY TAX<br>HEAD OF THE<br>HOF<br>10%<br>5%<br>FAMILY<br>SINGLE WITH<br>SWD<br>15%<br>10%<br>DEPENDENTS<br>SINGLE W/O<br>SOD<br>20%<br>15%<br>DEPENDENTS<br>

Extracted text: 5. Programming Challenge: The easiest way to find the net salary of employee is by first taking the values of gross salary, income tax, provident fund and professional tax in the main function and| directly use the below formula. Net Salary = Gross Salary – Income Tax – Public Provident Fund – Security Tax But to Create a program that would be compute salary of an employee based on the information indicated in the table given below. Sub- Dept. Position Sub- Rate Per Dept. Position Position Code Code Position Hour Code Senior 011A 1000 Programmer Junior Programmer 011 011B 700 Programmer System Analyst MIS MIS 012A 1000 Analyst 012 Data 012B 800 Analyts Advertiser Staff 021 500 Marketing MKT 022 400 Chief 031 600 Accounting ACT Cashier 032 400 STATUS STATUS CODE BIR TAX SECURITY TAX HEAD OF THE HOF 10% 5% FAMILY SINGLE WITH SWD 15% 10% DEPENDENTS SINGLE W/O SOD 20% 15% DEPENDENTS
Projects<br>Files<br>Services<br>Output - MyJavaPrograms (run) X<br>run:<br>Enter Eemployee name: enz<br>Enter Department code: mis<br>Enter Position code: 011<br>Enter Sub-position code: 01la<br>Position: Senior Programmer<br>Enter the number of hours worked: 50<br>Enter status code: hof<br>Gross salary is: 50000.0<br>Total deduction is: 7500.0<br>Net salary is : 42500.0<br>BUILD SUCCESSFUL (total time: 23 seconds)<br>Projects<br>Files<br>Services<br>Output - MyJavaPrograms (run) X<br>run:<br>Enter Employee name: ENZ<br>Enter Department code: MIS<br>Enter Position code: 012<br>Enter sub-position code: 012B<br>Position: Data Analyst<br>Enter the number of hours worked: 40<br>Enter status code: HOF<br>Gross salary is: 32000.0<br>Total deduction is: 4800.0<br>Net salary is : 27200.0<br>BUILD SUCCESSFUL (total time: 22 seconds)<br>会会<br>

Extracted text: Projects Files Services Output - MyJavaPrograms (run) X run: Enter Eemployee name: enz Enter Department code: mis Enter Position code: 011 Enter Sub-position code: 01la Position: Senior Programmer Enter the number of hours worked: 50 Enter status code: hof Gross salary is: 50000.0 Total deduction is: 7500.0 Net salary is : 42500.0 BUILD SUCCESSFUL (total time: 23 seconds) Projects Files Services Output - MyJavaPrograms (run) X run: Enter Employee name: ENZ Enter Department code: MIS Enter Position code: 012 Enter sub-position code: 012B Position: Data Analyst Enter the number of hours worked: 40 Enter status code: HOF Gross salary is: 32000.0 Total deduction is: 4800.0 Net salary is : 27200.0 BUILD SUCCESSFUL (total time: 22 seconds) 会会
Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here