Continental Interview Question

Draw circuit diagram Programming logic