Question: Pare 1 ot 2 2 5 5 - ( LAB 1 3 ) - TUES - APRIL 2 - EXAM 2 - FINAL EXAM PREP
Pare ot
LABTUESAPRIL EXAM FINAL EXAM PREPLAB ASSIGN DUE MONAPRIL
Note: There will be a LAB ASSIGNDUEAPRIL THAT WILLADD ON TO THIS ASSIGNMENT
LAB ASSIGN 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 : It will do the following:
PART
Load a two dimensional array with the values illustrated in figure
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
If within the THREE ATTEMPTS if the combination of both are NOT FOUND...PART
PART COMBINATION WAS NOT found. within the THREE ATTEMPTS
The user will be informed of the unauthorized attempt
A TWO DIM array named INVALIDLOGIN will be loaded with the user id & password that used to attempt to access the data.
Once the ARRAY NAMED "INVALIDLOGIN" 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.
tableFIGURE ARRAY TABLE DATAtableLASTNAMEtableFIRSTNAMEtableUSERIDtablePASSWORDADDRESS,CITY,STATE,tableEMPLOYTYPEtableNO OFDeductionstableHOURLYRATEJONESJAMES,JJONES,JJth Ave,Tuscaloosa,FTSMITHROBERT,tableSROBERTSRth Street,Atlanta,GAPTBROWNWILLIAM,BWILL,BWth Ave,Birmingham,FTWHITECHARLES,WCHARL,WCth Street,Tuscaloosa,FTCARLSONMATHEW,CMATT,CMth Ave,Atlanta,GAPTFALCONDANIEL,FDANN,FCth Street,Birmingham,FTFEAKANTHONY,FANTH,FAth Ave,Tuscaloosa,FTPARISMARK,PMARK,PMtablerdStreetAtlanta,GAPTTAYLORDONALD,TDON,TDth Ave,Birmingham,FT
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
