Commit d22fc9cc authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

Corrected error in labFour_pTwo - thanks Michael Lwe!

parent ed99fbe8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ using namespace std;
 * @return the number of different ways of generating [dollars]
 *    dollars with the permitted bills
 *
 * @example labFour_pTwo_exchange(8) = 6 corresponding to the
 * @example labFour_pTwo_exchange(8) = 7 corresponding to the
 *   following ways to exchange $8:
 *    1. 8*$1
 *    2. 6*$1+$2
@@ -26,6 +26,7 @@ using namespace std;
 *    4.      4*$2
 *    5. 3*$1      +$5
 *    6.   $1  +$2 +$5
 *    7. 2*$1+3*$2
 */
int labFour_pTwo_exchange(int dollars);