Delhi odd even code written but not running

your logic is not fine…you need to create 2 sum
sumE-which sums the even digits
sumO-which sums the odd digits

now apply the conditions on them

we do not have to check the car number…whether it is even or odd

thanks. I will try that again.

Question done. Now i think my logic is fine. https://ide.codingblocks.com/s/132425

yeah great :)…no need to include the constraints(they just mean that from backend input will be within that range)