Feeds
질문
Need help fixing my code to calculate the most efficient form of euro change to give a customer (greedy algorithm)
bill = 1 + (200-1) .* rand(1,1) bill = round(bill,2) pay = input("How much cash did the customer give you?") change1 = pay-bi...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
I need help creating a code to calculate monetary change
What is the code to determine how to give change in the correct amount of bills and coins, minimizing the total number of items ...
4년 초과 전 | 답변 수: 0 | 0