Fast Enterprises interview question

Write a function to display all the prime numbers on the range given.