Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

empid : an array of seven long integers to hold employee identification numbers.

can any one please help me to write a JAVA program that uses the following arrays.

  • empid: an array of seven long integers to hold employee identification

numbers. The array should be initialized with the following numbers

5658845         4520125         7895122         8777541

8451277         1302850         7580489

  • hours: an array of seven integers to hold the number of hours worked by each

employee

  • payrate: an array of seven floats to hold each employee's hourly pay rate
  • wages: an array of seven floats to hold each employee's gross wages.

The program should relate the information in each array through the subscripts.

The program should display each employee id number and ask the user to enter that employee's hours and pay rate. These values should be stored in hours and payrate arrays. It should then calculate the gross wages for each employee (pay rate times hours with time and a half after 40), which should be stored in the wages array. After data has been entered for all the employees and all the calculations have been performed, the program should display each employee's identification number and gross wages in a tabular form.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question