Predict the output:#include iostreamusing namespace std;
int main(){
int n;
cin n;
bool isPrime = true;
for(int i=2;in;i++){
if(i%n == 0){
isPrime = false; break;
}
}
if(isPrime){
cout"Prime"endl;
}
else{
cout"Not Prime"endl;
}
return 0;
}
Give input: 3