Harry Potter Kata
I did the Harry Potter Kata earlier because I was feeling a little bored. Here’s the result. I use cents rather than euros as my unit of currency here.
I’d a start when I was thinking about how I’d solve the problem. I thought that being greedy …