Delhi's Odd Even

question:- https://online.codingblocks.com/app/player/189104/content/180067/4700/code-challenge

code:- https://ide.codingblocks.com/s/441298

wrong output!!!

hey @dasvishal60 Question isn’t clear to you, you have to take each digit as a number and then have to add, dry run this code by me. You will get the error.


Also the cout statements aren’t right, apply this logic in your code. if have any issue in it, feel free to ask.

sir check now sample output is correct but it fail in test case.

Send me your updated code.

Submit now ->


have edited your code, output format and this logic was corrected , rest everything was right

i think u send the different code

My bad, check now -.

thanks for help i just found out where i was wrong

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.