Wrong answer encountered

#include
using namespace std;
int main() {
int n,temp,m,e=0,o=0;
cin>>n;
temp=n;
while(temp<0)
{
m=temp%10;
temp=temp/10;
m%2==0?e=e+m:o=+m;
}

if(e%4==0||o%3==0)
{cout<<"Yes";}
else
cout<<"No";

return 0;

}

@lakshit Please place an endl after cout<<“Yes” and cout<<“No” and then check.

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.