Doubt in question Delhi's Odd Even question

I am getting the right output of the code! But the testcase is still wrong! Please help.
Code = https://ide.codingblocks.com/s/159930

Hi @Varun1300211
Your code is giving wrong output because you are calculating the sum of all digits of the number n and then checking if it is divisible by 3 or 4. But here in this case you have to create sum of odd digits of number and sum of even digits of number and then check if sum of even digits is divisible by 4 or sum of odd digits is divisible by 3 or not.
For example if n is 12346 here sum of odd digits is 1+3 = 4 which is not divisible by 3 so we check for sum of even digits that is 2+4+6=12 which is divisible by 4 hence output will be β€œYes”.