From 9da0758f3d47481da2a78d694adf7090d02954d8 Mon Sep 17 00:00:00 2001 From: Omar Date: Tue, 16 Aug 2016 19:59:34 -0700 Subject: [PATCH] Made Exact Change Insufficient Funds condition easier to understand --- .../advanced-bonfires.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/01-front-end-development-certification/advanced-bonfires.json b/challenges/01-front-end-development-certification/advanced-bonfires.json index 1eb30f6cae2..a322e1186be 100644 --- a/challenges/01-front-end-development-certification/advanced-bonfires.json +++ b/challenges/01-front-end-development-certification/advanced-bonfires.json @@ -145,7 +145,7 @@ "description": [ "Design a cash register drawer function checkCashRegister() that accepts purchase price as the first argument (price), payment as the second argument (cash), and cash-in-drawer (cid) as the third argument.", "cid is a 2D array listing available currency.", - "Return the string \"Insufficient Funds\" if cash-in-drawer is less than the change due. Return the string \"Closed\" if cash-in-drawer is equal to the change due.", + "Return the string \"Insufficient Funds\" if cash-in-drawer is less than the change due or if you cannot return the exact change. Return the string \"Closed\" if cash-in-drawer is equal to the change due.", "Otherwise, return change in coin and bills, sorted in highest to lowest order.", "Remember to use Read-Search-Ask if you get stuck. Try to pair program. Write your own code." ],