#include
using namespace std;
int main(){
int n, i= 2;
cout << "Enter no. : " ;
cin >> n;
if( 0<= n){
if( i <= n - 1 ){
if(n%i != 0){
i = i + 1;
}
else if(n%i == 0){
cout << “Not a prime no.”;
}
}
else if(i == n){
cout << “A Prime no.”;
}
}
else{
cout << “Not a valid no.”;
}
return 0;
}
https://ide.codingblocks.com/s/52421
this is my code , whenever I try to enter a Prine no. it is not diplaying " A Prime no "