Program: Access Code Management
Create a C ++ program that prompts you to enter an access code and compare it with a list of authorized codes for access to a placeholder.
The code to be entered and the pre-existing ones must have 4 integers.
The program should:
Have a list of 25 codes with the following information: ID, access code, username and access level;
Issue the following messages:
When access is not authorized, issue a message informing the non-authorization and recording the date and time of attempted access;
When access is authorized, issue an authorization message and record the access date and time, ID, the user name and access level.
After three failed attempts inform the user that the session will be terminated because it has exceeded the maximum number of attempts allowed.
Have two levels of access, normal and admin;
Allow admin to insert or delete records from the access list;
List the hits made on the current date.