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. I have no idea what that was about. It worked because that
if
statement always evaluates to true. I probably meantif(end >= start)
, but that isn't necessary either: the for loop should be good enough without the if statement. So that's a bit of a mystery to me. This code was from many years ago, and I no longer remember what I was thinking.This comment is hidden because it contains spoiler information about the solution
Not a great Kata as I believe most schools/universities round up scoring to avoid arguments whereas this Kata rounds down by using int divison
What happens after 2099???????