Domanda di colloquio di Zscaler

Some basic logical programming questions They shared a Google doc and asked to write the program