Accenture interview question

one program like prime no between a range