Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works


  • Please log in to reply



    New Member

  • Member
  • Pip
  • 2 posts
can u show me the flowchart of this algorithm

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?
  • 0


Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP