Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

HELP ME IN VISUAL LOGIC


  • Please log in to reply

#1
xpanther1

xpanther1

    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

Advertisements







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