Initialize username array
Initialize password array
Enter user data into username and password array
Initialize username_input
Initialize password_input
Get username_input and password_input from user
Initialize username_array_index
Initialize password_array_index
[Check if username_input is in username array]
If NO -> output pop-up saying "User not found" and end program
If Yes -> store array index of username_input from username_array into username_array_index (should be a number from 1 to 5) and continue on with algorithm
[Check if password_input is in password array]
if No -> store "0" into password_array_index (no for sure there won't be a match)
if Yes -> store array index of password_input from password_array into password_array_index (a number from 1 to 5 again)
[Check to see if username_array_index is the same as password_array_index]
If No -> output pop-up saying "Username does not match password"
If Yes -> output pop-up saying "Access Granted"
End Program
please i need your help .
can u post a printscreen on it?