[ad_1]
Something like this should work:
paid = Math.Min(total, payment+paid)
3
[ad_2]
solved Can an algorithm for this be done in one line? [closed]
[ad_1]
Something like this should work:
paid = Math.Min(total, payment+paid)
3
[ad_2]
solved Can an algorithm for this be done in one line? [closed]