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 with me
This comment is hidden because it contains spoiler information about the solution
Tell me a solution if I need to return a quantity not true, but false.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
For all we know user can enter 1000000. But kata got clear constraints
1 <= month <= 12
.Most of the answers that I see are not correct, because they do not take into account that the user can enter data for the month numbered 0 or 13! For example, if you use the Math.ceil, then month 13 refers to quarter 5!
Nice!
I HATE this kata!!!
Your code is wrong, read this again:
My code works completely on any tests both here and in VSC, but the system writes an error "expected 9 to equal -9"!