If else program is not working

#include
using namespace std;
int main(){
int n;
cin>>n;
if(n/2==0 and n/3==0)
{
cout<<n<<“is div by 2 and 3”<<endl;
cout<<“if-block!”<<endl;
}
else if(n/2==0){
cout<<n<<“is div 2”<<endl;
cout<<“if-block 1!”<<endl;
}
else if(n/3==0){
cout<<n<<“is div by 3”<<endl;
cout<<“if-block 2!”<<endl;
}
else{
cout<<“not divisible”<<endl;
cout<<“else block!”<<endl;
}
return 0;
}

please check this code

@harshit_25 please share your code using ide.codingblocks.com

@harshit_25 please share your code using ide.codingblocks.com

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.