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, the test results obviously gave too much away.
Given that it's a duplicate, the appropriate thing would be to unpublish it. Additionally, it's got an average vote rating of 44% for a kata with an average ranking of 7 kyu, which suggests it may never get approved (ie. it will likely stay in beta forever).
Okay, thank you! I guess this should be deleted then?
That's odd, I did a search using keyword "tax" and got the following duplicate: https://www.codewars.com/kata/calculate-meal-total
Thanks. Is it better now?
As is, the kata seems to suggest that the tax is the actual tax due and simply asks you to add it to the subtotal. What you are actually giving is the tax as a percentage. The tax due needs to be calculated using the tax given as a percentage and the subtotal and only then added to the subtotal. Explaining this would make things much clearer.
Should be fixed now. Thanks!
Random test cases added.
Thanks, I am now rounding it down to two decimal places.
I couldn't find any others either. So I'm not sure how to be unqiue.
This comment is hidden because it contains spoiler information about the solution
Thanks! :)
Thanks :)
NO, don't quit and don't unpublish! Keep at it and you'll do just fine!!
Just do your best, ask questions when you need to, and don't feel intimidated...
We all have to start somewhere... :o)
Hello, thank you for your suggestion, I haved removed the negative test cases, and made it so that there is a dollar sign in front...
As I have mentioned above, I'm probably not good enough at JavaScript for these katas so maybe I should unpublish.
Loading more items...