Https://ide.codingblocks.com/s/102940

Continuing the discussion from Delhi odd even fundamental problems:
still not working

@Tiya hey Eshanika the only mistake is that declaring the variables outsides the test case loop because In the first iteration your loop was updating your variables and next time program was using the variable which have some store value rather than zero in sum1,sum2
so only test case variable will be outside and other variable declare inside the test case loop.