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 diminsional arrays. Write a java program to calculate the Gross, Tax, Net for employees.Assuming:The input is First Name, Middle Initial, Last Name, Id number, Hours worked, Rate per Hour.constant state tax percentage Fed tax percentage hours worked must be between and hoursRate per hour must be between $ and $Gross calculations:If hours worked are to Gross Hours worked Rate per HourIf hours greater than Gross Rate per Hour Hours worked Rate per Hour State Tax Gross State Tax percentageFed Tax Gross Fed Tax percentageNet Gross State Tax Fed Taxcalculate the total gross and the gross average need an accumulator average total gross number of employeesSIZEOutput: Display: MUST BE FORMATTED and as a table MUST USEprintfEmployee 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 $ : Total gross $xxxxxxx Gross Average $xxxxxxx
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
