lol, yeah the only error I was getting was that I couldn't make the % operation between an int and a double so I just switched the double with int and it started working, but giving the opposite reult. Thx for the response!
I was able to do it, but I am very confused. Am I returning True if the number is odd and False if the number is even?? Because from the Kata name I thought it would be the opposite, and now I'm contemplating if I ever understood C at all.
lol, yeah the only error I was getting was that I couldn't make the % operation between an int and a double so I just switched the double with int and it started working, but giving the opposite reult. Thx for the response!
I was able to do it, but I am very confused. Am I returning True if the number is odd and False if the number is even?? Because from the Kata name I thought it would be the opposite, and now I'm contemplating if I ever understood C at all.
Gotcha! Thank you.
How does this work for the case where all three languages are different?