photo

Nicky ten Bosch


Last seen: 3年以上 前 2021 年からアクティブ

Followers: 0   Following: 0

統計

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...

3年以上 前 | 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 ...

3年以上 前 | 0 件の回答 | 0

0

回答