In Time Tec interview question

Prime numbers from a range