A control system program is to be written to authorize access to a secure server room using a dual-factor login: an Employee ID and a corresponding PIN.
Table 1 shows the only two authorized pairs of Employee IDs and PINs.
| Employee ID | PIN |
|---|---|
| Tech404 | 9182 |
| Admin707 | 3546 |
Write a C# program to authorize access based on the Employee ID and PIN.
The program should:
Entry Denied if the Employee ID and PIN pair entered is not authorizedEntry Approved if the Employee ID and PIN pair entered is authorizedYou should use meaningful variable names and correct C# syntax in your answer.
298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.