Fast Enterprises Interview Question

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