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.
Same thoughts. I'm moving on rather than hitting my head against a wall.
That wouldn't make sense. If I pass in (13) as the argument, 13 wouldn't be equal to 1 for the first If statement, and wouldn't be equal to 2 for the second If statement. We need the first two years to be unique because they're not like the other repeating number for the rest of dog and cat years.
The best way is to use no rounding. Avoid floating point numbers,
double
, and any other numbers you'd have to round, or where you can lose precision.Does that happen in Sample tests? Did you click
Reset
to reload them? Backup your code first.It was a bug in tests, should be fixed now.