The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 3 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Write a Payroll class that uses the following arrays as fields:
employeeID: array fo seven integers to hold employee id numbers. initialized with: 5658845 4520125 7895122 8777541 8451277 13028590 7580489
hours: an arry of seven integers to hold the number of hours worked by each employee.
payRate: an arry of seven doubles to hold each employee's hourly pat rate.
wages: an array of seven doubles to hold each employee's griss wages.
The class should relate the data in each array through the subscripts(i.e. element 0 in hours should be hours worked of employee id in element 0. Same pay rate should be stored in element 0 of payRate array.
Display each employee number and asks user to enter the employee's hours and pay rate. Should display each employee's id number and gross wage.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll