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.
yeah great :)…no need to include the constraints(they just mean that from backend input will be within that range)