Arm Interview Question

Write pseudocode that depicts the functional behavior of a system, given certain requirements.