One test case is fail

why my one test case is fail even it satisfy all the condition of the given question ??

Hey @ayushisingh274_796ecc065428731b Since the output should be exactly that has been given in the question Therefore you need to change your SysO Statement when a number is not prime like this :
Your Statement : System.out.println(“not a prime”);
changes that has to be made ‘n’ Should be Capital and Remove ‘a’
hence :
System.out.println(“Not prime”);//You have to write exactly as given in the question.

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.