from my side , my code is fulfilling each and every case but it shows wrong test case solution every time
Wrong test case solution
that’s the code
@Ritik-Tanwar-2412779575714351 You logic is going wrong. Do a dry run and check it yourself.
Consider a case:
2
40001
30002
Your Output:
No
No
Expected output:
Yes
Yes
What actually you are doing is that you are finding the sum of all digits and then checking its divisibility with 4 and 3 which is wrong. You have to find the sum of all digits which are even and the sum of all digits which are odd separately. If the sum of all even digits is divisible by 4 or sum of all odd digits is divisible by 3, then only print “Yes”. In all other cases print “No”.
Hope this helps 
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.