Question: Using ARRAYS AND METHODS, NO PACKAGES, nothing BUT JAVA.UTIL.SCANNER. ONE TASK PER METHOD. * * * DO NOT USE 2 diminsional arrays. Write a java

Using ARRAYS AND METHODS, NO PACKAGES, nothing BUT JAVA.UTIL.SCANNER. ONE TASK PER METHOD. *** DO NOT USE 2 diminsional arrays. Write a java program to calculate the Gross, Tax, Net for 10 employees.Assuming:The input is First Name, Middle Initial, Last Name, Id number, Hours worked, Rate per Hour.constant state tax percentage 7%, Fed tax percentage 15%hours worked must be between 0 and 60 hoursRate per hour must be between $15.00 and $35.00Gross calculations:If hours worked are 0 to 40(Gross= Hours worked * Rate per Hour)If hours greater than 40(Gross=40* Rate per Hour +( Hours worked -40)* Rate per Hour *1.5))State Tax = Gross * State Tax percentageFed Tax = Gross * Fed Tax percentageNet = Gross -(State Tax + Fed Tax)calculate the total gross and the gross average (need an accumulator) average = total gross / number of employees(SIZE)Output: Display: MUST BE FORMATTED and as a table (MUST USEprintf)Employee Last Name, First Name, Id #, MI, Rate per Hour, hours worked, State Tax, fed tax Gross, Net Last Name First Name MI Id# Rate Per Hour Hours Worked State Tax Fed tax Gross Net smith joe a $12.9910 : Total gross = $xxxxx.xx Gross Average = $xxxx.xxx

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!