0

here is my program

i think that it's right

```
#include<iostream.h>
int main(){
int n,i=3;
cout<<"please enter number to see weither it is a prime one or not"<<endl;
cin>>n;
if(n==2||n==3){cout<<n<<"is prime number"<<endl;}
else if(n%2==0)
{cout<<n<<"\t is not prime"<<endl;}
else{
for(i=3;i<n;i+=2)
{ if(n%i==0)
{cout<<n<<"\t is not a prime number"<<endl;break;}
else { if (i=n-1){
cout<<n<<"is a prime number"<<endl;
}}}}
return 0;
}
```

plz tell me if you found any mistake on it:)