Test case not passing

Wanted to know whats wrong the code below:

hi @dharamrajroy_275ef8688612039e
first if its not prime u need to print Not Prime
second N is very large so o(N) solution will not work someing o(sqrtN) will pass
so just loop till sqrt(n)
wanna explore more why? then u can read this: https://www.geeksforgeeks.org/prime-numbers/

HI i worked a bit with the code and everything thing is working fine still not passing the test case:

1 Like

https://drive.google.com/file/d/1sihvAkZkgRdsIQjr_qWM1mpBSvv8uIIw/view?usp=sharing

@dharamrajroy_275ef8688612039e,
give me access
or u can save and share the link here : http://ide.codingblocks.com/

done i saved it their

where ide??? then send me the link

@dharamrajroy_275ef8688612039e,
code is good just write “Prime” starting with capital letter, nice work!

1 Like

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.