I need more info on login/password file
Posted on 1998-11-05
I have another question concerning my previous query on creating a login/password file. As I'm only a beginner, I would appreciate if anybody could answer this in simple coding.
I need to create a program that will:
* allow the user to enter a login and password
* check the login against a list of valid logins
* if the login is invalid, then display an error message and allow re-entry
* if the login is valid, then check password
* if the password is invalid, then display a error message and allow re-entry.
* if password is valid, then display a message indicating success.
Note: two arrays should be used to store valid logins and passwords.
I would really appreciate any help on this question.