Expeditors interview question

Know how to write a loop and if statements