Add test cases. Improve the algorithm. Calculate if possible the ideal case, or the real case (try to give back the money with the available banknotes and coins), or specify that is not possible to give back the change.
Add test cases. Improve the algorithm. Calculate if possible the ideal
case, or the real case (try to give back the money with the available
banknotes and coins), or specify that is not possible to give back the
change.
antalpeti/Test