Possible help me in programming this question
Alarm system
Intruder Detection: An alarm system with entry control into a restricted area
- To arm alarm systems enter your chosen code
- After 3 seconds the inputted code will clear and will arm. To disarm enter the correct code again.
- Sound alarm in case of invalid code entry.
- Sound alarm if access into the restricted area was gained through breaking a door or a window