One test case failed. Don’t know why
Test Case Failed
update the ouput stmt when it is not prime
if(n%i==0){
cout<<“Not Prime”; // the output statment should be in sync with the question stmt
break;
}
One test case failed. Don’t know why
update the ouput stmt when it is not prime
if(n%i==0){
cout<<“Not Prime”; // the output statment should be in sync with the question stmt
break;
}