diff --git a/Problem31.m b/Problem31.m index 538dfa4..eb47201 100644 --- a/Problem31.m +++ b/Problem31.m @@ -67,6 +67,8 @@ endTime = clock(); printf("There are %d ways to make 2 pounds with the given denominations of coins\n", permutations); printf("It took %f seconds to run this algorithm\n", etime(endTime, startTime)) +end + %{ Results: There are 73682 ways to make 2 pounds with the given denominations of coins