photo

Nicky ten Bosch


Last seen: 3 years 前 自 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 years 前 | 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 years 前 | 0 个回答 | 0

0

个回答