Many computer systems are protected by requiring users to log in using a username and password. If the user enters the correct username and password combination, then they can be granted access to the system.
The following table shows the details of three users of a computer system:
Username Password
jlay P1z2aT0pping
mwhite BananaElephant72
jmunro iusDg34b1
1.Develop a program to allow a user to enter their username and password and be granted access to the computer system
2.Modify the program so that when it starts, the user is presented with two options
3.Modify the program so that when logging in, the user is given three opportunities to enter their password. Once the password has been incorrectly entered three times in succession, the account should be locked. Once locked, an account cannot be accessed.
4.Modify the program so that once the user has logged in, they have the option to log out or change their password. If the user chooses to change their password, the new password must meet the security criteria outlined in task 2.
5.Modify the program to keep track of the number of times a user has logged into the system, and display this information to the user once they have logged in.
6.Extend your program to keep track of the date and time of each users most recent log in, and display the last log in time to the user once they have logged in.