Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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!
You changed the function to take an int instead of a double, and it ended up really screwing up the tests. You're supposed to return true if n is even, but your code really broke this kata.
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.
Oh, and footnote 8 claims the Swiss are particularly fond of watchmaking, bit twiddling, the Basic Latin Unicode block, and Gruyère cheese. Weird mix. I don't know if any of that is true though.
How does this work for the case where all three languages are different?