No output for prime numbers

i am getting no output when i input prime numbers like 13,5,etc while the programs seems to function just fine for non prime numbers. what might be causing it?

@akash27 hey akash can I see your code so that I conclude my statement about your implementation.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.