Question: i need to write the Pseudocode for javascript to verify credentials for each user by asking the user for their username and PIN as follows:
i need to write the Pseudocode for javascript to verify credentials for each user by asking the user for their username and PIN as follows:
Enter username:
Enter PIN:
i will need to verify the user credentials by reading the information of each user from the file users.txt (included for this assignment). This file will have on each row the following user information: username, pin, checking account balance, savings account balance. For example, the file users.txt may have the row provide below with information about Alice. This row indicates that user name is alice, her password is 1234, her checking account balance is $500, and her savings account balance is $40
alice 1234 500 400 You will verify that the username and PIN entered by the user matches the username and PIN obtained from the users file. A user only has 3 opportunities to enter the correct password, otherwise the program will exit with the following message: Your username and/or password is not correct. Goodbye!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
