subject

5- write a payroll class that uses the following arrays as fields: • employeeid. an array of seven 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 doubles to hold each employee’s hourly pay rate • wages. an array of seven doubles to hold each employee’s gross wages the class should relate the data in each array through the subscripts. for example, the number in element 0 of the hours array should be the number of hours worked by the employee whose identification number is stored in element 0 of the employeeid array. that same employee’s pay rate should be stored in element 0 of the payrate array. in addition to the appropriate accessor and mutator methods, the class should have a method that accepts an employee’s identification number as an argument and returns the gross pay for that employee. (10 points).

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:30
If the polar bear were taken out of the food chain what would happen to the seal population the seal population would diminish the seal population would grow dramatically the seal population would stay the same the seal population would decrease slightly
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Brian wants to conduct an online search with a certain phrase. he intends to use the words books that belong to the 1800s in his search. how should he use the word that in his search?
Answers: 1
question
Computers and Technology, 24.06.2019 17:00
The length of time that a slide appears before automatically advancing to the next slide can be set in the timing group under the transitions tab. transition to this slide group under the transitions tab. timing group in the master slide view. transition to this slide group in the master slide view.
Answers: 1
question
Computers and Technology, 24.06.2019 18:00
Hacer un algoritmo que me permita ingresar el nombre de una parcela de terreno y muestre junto al mensaje “tipo de suelos: suelos fumíferos, ¡excelente!
Answers: 1
You know the right answer?
5- write a payroll class that uses the following arrays as fields: • employeeid. an array of seven...
Questions
question
Mathematics, 18.11.2020 14:00
question
Mathematics, 18.11.2020 14:00
question
Mathematics, 18.11.2020 14:00
question
Mathematics, 18.11.2020 14:00
question
Mathematics, 18.11.2020 14:00
question
Mathematics, 18.11.2020 14:00
question
Mathematics, 18.11.2020 14:00
Questions on the website: 13722362