Tagit Pte interview question

Print even numbers in the given range?