Hi!
I’d like to make a system where an AI brings you items to purchase and gives you cash in denominations of $1, $2, $5, $10, $20 etc.
For example, if the items added up to $12.49, i’d like the AI to give me like $15 in a few denominations, perhaps a $5 and a $10, or 2 $5 and a couple coins. How would I do this?