Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Can someone help me with this testcase?

    testequal(0, 10, 0.95, 2);

    I dont understand why there should be 2 as result. Because if the card is for free and a ticket cost 10 and on it he gets 0,95 discount, then the first ticket costs him 9,50 and the one without the card pays 10.