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: | Jul 2017 |
| Last Sign in: | 313 Weeks Ago, 6 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
2. 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.
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly