Tekion interview question

simple logical programming questions