Can u check the logic in eventhodd() function
There are a lot of mistakes. I would say that you write this code again. It would be better and do a dry run to understand where it fails
There are a lot of mistakes. I would say that you write this code again. It would be better and do a dry run to understand where it fails