Ad
  • Default User Avatar

    No problem in the kata. Please re-read the description. Two people answered years ago to this case:

    @jwern 2 years ago
    In description
    "...the final result of System B, when ROUNDED UP to the next dollar, will be CHEAPER than System A." (caps emphasizing the key points)
    
    On the first movie trip, System A costs $10 and System B costs $0 + $9.50, which we round up to $10. So System A == System B, and it takes another movie before B is cheaper overall.
    
    @kronos-cm(7 kyu)5 years ago
    You should round up to the next dollar so system B would be 10
    
  • Custom User Avatar

    the same case with javascript