i cant understand what went wrong in the sum part in the loop…
Delhi odd even challenge,getting wrong output
in a given car no,
each extracted digit,if odd will go to oddsum
if its even,it will go to evensum
finally oddsum and evensum if divisible by 4 or 3 resp…will give “yes” ,otherwise “no”
but in the code provided by you, you just check if the given number is 1 or 2, otherwise derive m and n and multiply them to provide answer, which doesnt match your logic, please check if the code provided is correct.