Quest Global interview question

Print all prime numbers in between two range with any programming language.