Odd even in delhi getting tle

getting tle in this problem . please tell where should i make changes.

#include
using namespace std;
int even=0,odd=0;

void checkoddeven(int d){
if(d%2==0){
even=even+d;
}
else {
odd=odd+d;
}
}

void checksum(int o,int e){
if(o%3==0 || e%4==0){
cout<<“Yes”<<endl;
}
else cout<<“No”<<endl;
}

int main(){
int t;
cin>>t;
while(t){
int carno;
cin>>carno;
int x;
while(carno>0){
x=carno%10;
checkoddeven(x);
carno=carno/10;
}
checksum(odd,even);
}
return 0;
}

@shivamraj53.sr,

do t-- in while loop

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.

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.