Cisco Interview Question

I had to make 3 programs.