Question: Note: There will be a LAB ASSIGN 1 4 - ( DUEAPRIL 2 2 ) - THAT WILL ADD ON TO THIS ASSIGNMENT LAB ASSIGN

Note: There will be a LAB ASSIGN14-(DUEAPRIL 22)- THAT WILL ADD ON TO THIS ASSIGNMENT
LAB ASSIGN 13- This JAVA program WILL NOT BE functional DESIGN!!
It Will NOT REOUIRE JGRASP .. CAN USE ONLINE COMPILER!!
NO SUBFUNCTIONS!!
ONLY A MAIN FUNCTION!!
LAB ASSIGN 13: It will do the following:
PART 1
Load a two dimensional array with the values illustrated in figure 1.1
Then the program will give the USER three attempts to search the array for values in the array. These values will be the:
a. The userid and
b. The password
If AFTER THREE attempts...if the combination of both are NOT FOUND ... SEE SECTION PART 2
If within the THREE ATTEMPTS .. if the combination of both are NOT FOUND...PART 3
PART 2- COMBINATION WAS NOT found. . within the THREE ATTEMPTS
The user will be informed of the unauthorized attempt
A TWO DIM array named INVALID_LOGIN will be loaded with the user id & password that used to attempt to access the data.
Once the ARRAY NAMED "INVALID_LOGIN" has been successfully been loaded with these values
a. It will be printed.
b. At this time, this array will contain only ONE RECORD in it
i. It only contains one employees' data.
The program will stop.
\table[[\table[[LAST],[NAME]],\table[[FIRST],[NAME]],\table[[USER],[ID]],\table[[PASS],[WORD]],ADDRESS,CITY,STATE,\table[[EMPLOY],[TYPE]],\table[[NO OF],[Deductions]],\table[[HOURLY],[RATE]]],[JONES,\table[[JAMES]],JJONES,JJ1234,10th Ave,\table[[Tuscaloosa]],AL,FT,2,25.55],[SMITH,ROBERT,\table[[SROBERT]],SR1234,6th Street,Atlanta,GA,PT,0,10.22],[BROWN,WILLIAM,\table[[BWILL]],BW889,7th Ave,Birmingham,AL,FT,3,26.55],[WHITE,CHARLES,WCHARL,WC099,4th Street,Tuscaloosa,AL,FT,1,30.55],[CARLSON,MATHEW,CMATT,CM9893,8th Ave,Atlanta,GA,PT,1,15.22],[FALCON,DANIEL,FDANN,FC98349,\table[[5th Street]],Birmingham,AL,FT,3,31.55],[FEAK,ANTHONY,FANTH,FA93934,6th Ave,Tuscaloosa,AL,FT,2,35.55],[PARIS,MARK,PMARK,PM3934,\table[[3rd],[Street]],Atlanta,GA,PT,1,20.22],[TAYLOR,DONALD,TDON,TD3033,12th Ave,Birmingham,AL,FT,4,36.55]]
PART 3- COMBINATION WAS found. within the THREE ATTEMPTS
The user will be informed of the AUTHORIZED ATTEMPT
The remaining information from the array along with the number of attempts required for login, the valid user id & password will be written to a TWO DIM array named VALID_LOGIN
The program will then Proceed to PART 4 for PROCESSING.
PART 3-COMBINATION WAS found. within the THREE ATIEMPTS
The program will ask the user for the number of hours that the user worked and then use this information ALONG with the information in the TWO DIM "VALID LOGIN" ARRAY" do the
a. Detail CALCULATION & OUTPUT to a new TWO DIM arrav named "PAYROLL REPORT" to include:
i. Regular pay
ii. Overtime pay
iii. Gross pay
iv. Deduction amount
v. Net pay
b. This Pavroll REPORT arrav will contain
i. all values that were in the two dim array "VALID_LOGIN" AND
ii. all "DETAIL CALCULATED VALUES" specified above.
c. BEOUIRED Formulas FOR ARRAY OUTPUT VALUES:
i. Regular pay
For those working 40 hours OR LESS (MULTIPLY hours worked from INPUT by the hourly rate from the ARRAY, "VALID LOGIN")
For those working OVER 40 HOURS (MULTIPLY 40.0 by the hourly rate from the ARRAY, VALID LOGIN)
ii. OVERTIME PAY
For those working 40 hours OR LESS (THIS value is set to zero)
For those working OVER 40 HOURS (First SUBTRACT 40.0 FROM the hours worked from INPUT then MULTIPLY this RESULT by 1.5 and by the hourly rate from the ARRAY, "VALID LOGIN")
iii. GROSS PAY ( add together the Regular pay and the Overtime pay)
iv. Deduction amount (MULTIPLY the Gross pay by the No of Deductions from the Array, "VALID LOGIN")
v. NET PAY (SUBTRACT the Deduction amount ..FROM .. the Gross Pay)
Once the ARRAYNAMED "PAYROLL REPORT" has been successfully been loaded with these values
a. It will be printed.
b. At this time, this array will contain only ONE RECORD in it
i. It only contains one employees' data.
At this time, the Program will stop!
Part 2
I'm trying to understand the second part to study because the answer is alot that i don't know. I would really like to see the complete break down of the whole project of part 2 also in reference of part 1. thanks
Note: There will be a LAB ASSIGN 1 4 - ( DUEAPRIL

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 Accounting Questions!