19-Oct-2022 18:36:54 change_greedy_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2. Test change_greedy(). change_greedy_test02(): change_greedy() uses the greedy algorithm to try to find a collection of coins that equal a given sum T. Test 1: 1 1 5 2 0 9 3 1 13 Target = 19 Result = 18 Test 2: 1 2 1 2 0 4 3 1 5 4 0 8 5 2 11 Target = 29 Result = 29 Test 3: 1 1 1 2 0 5 3 2 10 4 1 25 5 1 50 6 0 100 Target = 96 Result = 96 Test 4: 1 0 1 2 0 2 3 0 6 4 1 12 5 1 24 6 0 48 7 1 60 Target = 96 Result = 96 Test 5: 1 2 1 2 0 3 3 1 4 Target = 6 Result = 6 Test 6: 1 0 16 2 1 17 3 0 23 4 0 24 5 0 39 6 2 40 Target = 100 Result = 97 Test 7: 1 0 6 2 0 9 3 2 20 Target = 43 Result = 40 change_greedy_test(): Normal end of execution. 19-Oct-2022 18:36:54