A security terminal program is to be written to authenticate an operator attempting to connect to a drone telemetry system.
Table 1 shows the only two valid operator ID and security code combinations.
| Operator ID | Security Code |
|---|---|
| TechAlpha | delta77 |
| ChiefBeta | omega99 |
Write a C# program to authenticate an operator.
The program should:
Connection Failed if the operator ID and security code pair entered is not validConnection Established if the operator ID and security code pair entered is validYou 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.