Cognizant Interview Question

Prime number between two given numbers.