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

  Create a program that develops an amortization schedule

Your project as a programming consultant is to create a program that develops an amortization schedule. Your program should be written as a Java applet.

  Develop an app which allows users to keep records

ICT311 - Mobile App Development - report explaining the design of the app. Submit your code via GitHub or BitBucket, and your report to Blackboard Task 2. Please follow the submission instructions on Blackboard.

  Company infrastructure and the identification

Your CEO meets with you and assigns you the following tasks, to be assembled in a written report to the CEO:  The review of the company's infrastructure and the identification of all types of vulnerabilities -- environmental, physical, an..

  Explain how parameter passing by value and by reference

Briefly explain how parameter passing by value and by reference is accomplished in memory. Write statement 1 to call Method A below.

  Implement solution for given problem in java control robot

CS1810 Software Implementation Event 2016/17 Assignment 3 - Robot Coding. Implement a solution for a given problem in Java that would control your finch robot

  Java programming assignment

Java programming assignment - Looking for someone to review my work and help me with the final few lines of unfinished code

  Multi-threading concepts

Multi-threading concepts: What is the output of the following program? class Threading{

  Write two pages paper summarizing the given program changes

Write a 2 Page paper summarizing the above program changes and how each change will benefit the program's performance, and its functionality in general. Include references to back up each category of improvement.

  Best protection from interference

You are running cabling for a network through a boiler room where the furnace and some other heavy machinery reside. You are concerned about interference from these sources. Which of the following types of cabling provides the best protection from..

  Part - a1nbsp to compile and run a java source file

part - a1.nbsp to compile and run a java source file hello.java that contains a main method which of the following are

  You need to find out the average score how many scores are

suppose that you have an array of baseball scores type integer called scores. the values in the array are ordered from

  Creates an array of six divsales objects

Write a program that creates an array of six DivSales objects. The program should ask the user to enter the sales for four quarters for each division.

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