What problem does my code have.....?

@anuranjan8319918906
you should include number%2 only when it lies in query region.
here’s the updated code https://ide.codingblocks.com/s/306448