Check prime problem

why am i getting one testcase failed but getting output right

Change Line 9 to
cout<<“Not Prime”;

still getting testcase 1 failed

Send me the link of your changed code.

I told you to change the line 9 to
cout<<“Not Prime”;

your ‘p’ of prime is still small.

Thanks sir i got it right