sir plz point out where did i made mistake
Delhi's odd even doubt
Your Mistake
you have to reinitialize s1 and s2 equal to 0 after each testcase
otherwise s1 and s2 also contains the sum of previous nos
Modified Code
i hope you understand
if not feel free to ask
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.