Create an array for gross_pay

Assignment Help JAVA Programming
Reference no: EM131599309

Following are three arrays, each containing 20 data. Array emp_hours contain the number of hours worked by 20 employees. Array emy_hourly_pay contain the hourly pay for the same 20 employees. Array emp_dependents contain the number of dependents for each of the same 20 employees.

double []emp_hours = {45, 40, 40, 42, 35, 40, 40, 50, 45, 35, 40, 40, 40, 30, 40, 40, 50, 45, 40, 40};
double []emp_hourly_pay = {15, 50, 32, 18, 20, 60, 25, 20, 30, 100, 20, 35, 30, 20, 50, 45, 25, 30, 55, 20};
double []emp_dependents = {0, 0, 5, 2, 7, 2, 2, 1, 0, 0, 3, 2, 4, 4, 5, 0, 1, 1, 2, 4};

Number of dependents

Taxable income (Gross pay gets reduced by following percentages)

0

0%

1

4%

2

7.75%

3

11.25%

4

14.5%

5

17.5%

6 and above

20.25%

Taxable Income

Tax Rate

0-500

10%

501-1000

15%

1001-1500

25%

1501-2000

40%

Above 2000

50%

1) Print the gross_income for all 20 employees.
2) Print the taxble income for all 20 employees.
3) Print the taxes for all 20 employees.
4) Print the net pay for all 20 employees.

Note: create an array for gross_pay, taxable_income, taxes, and net pay.

Reference no: EM131599309

Questions Cloud

Compute the sum of odd numbers : Compute the minimum number, compute the sum of odd numbers, count negative numbers, and compute the sum of numbers in the array are less than the last number
Discuss the critical thinking skills in the given process : The paper will not be just a report presenting information, but will be a paper that carefully examines and presents your own historical interpretation.
What measures did you use to track success of your project : What measures did you use to track the success of your project? In what way do you feel that your project has contributed to your company?
How would this research be valuable : How would this research be valuable? What possible benefits would there be for juvenile justice?
Create an array for gross_pay : Following are three arrays, each containing 20 data. Array emp_hours contain the number of hours worked by 20 employees
Describe multiple elements of the etiology : Identify a principal and secondary diagnosis for the assigned case study with rationale for each diagnosis.
What problems came up as you conducted your research : Select two individuals from our course to compare and contrast. These can be individuals who are closely-related (Martin Luther King vs Malcolm X, for instance)
Ethical codes on counselor impairment : My solution for the counselor is to take the many different test that are free on the internet to self-evaluate what she is experiencing.
Calculate the broadcast wavelength of the radio station : Calculate the broadcast wavelength of the radio station 90.10 FM.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd