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.
While this is a really nice, entertaining kata to perform we should still be aware that if these tax rates were real they would represent an incredibly regressive taxation policy which would have the poor pay a relatively higher proportion of their income in tax.
Yes it's only an example, but now you've spent a few minutes thinking about how to implement a tax calculator think about what that means for people paying it.
How about as a further technical / sociological exercise use your calculator to work out overall percentage tax on incomes ranging from 5 - 1000.
The Ruby version of this kata does not specify that employees is a global variable
$employees
.It seems this is tripping people up, myself included.