Ad
  • Default User Avatar

    25 Change = 25
    25 Change = 50
    50 Change = 75

    100 Change = 0 and ticket sold (YES)

    Hope it helps.
    F

  • Default User Avatar

    Shame so many broken tests, this was actually a nice kata.

    I got 5 broken tests (all starting with 100) and failing like this:
    "Line = 100,25,50,25,100,25,25,50,100 - Expected: 'YES', instead got: 'NO'"