Infosys Interview Question

Compute the prime numbers within a given range of numbers.