Sir, I have run the same code in my vscode and it haven’t showed any error can you please once look into my code
#include
using namespace std;
int main(){
int n;
cin>>n;
int no;
for(int i = 1; i <= n; i++){
cin>>no;
int sum = 0;
while(no != 0){
int ld = no % 10;
sum = sum + ld;
no = no/10;
}
if((sum % 2 == 0 and sum % 4 == 0) or (sum % 2 != 0 and sum % 3 == 0)){
cout<<"Yes"<<endl;
}
else{
cout<<"No"<<endl;
}
}
return 0;
}