Cisco Interview Question

To create a simple program in pseudocode.