From 9728fb2cc63be36c91db9accafc6ccf5a145034e Mon Sep 17 00:00:00 2001 From: Zubair Ali Date: Sat, 20 Aug 2016 11:32:40 +0100 Subject: [PATCH] Add a reference table to Exact Change challenge This commit adds a reference table to the Exact-Change challenge. --- .../advanced-bonfires.json | 3 ++- 1 file changed, 2 insertions(+), 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 a322e1186be..e720ebcf905 100644 --- a/challenges/01-front-end-development-certification/advanced-bonfires.json +++ b/challenges/01-front-end-development-certification/advanced-bonfires.json @@ -147,7 +147,8 @@ "cid is a 2D array listing available currency.", "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." + "Remember to use Read-Search-Ask if you get stuck. Try to pair program. Write your own code.", + "
Currency UnitAmount
Penny$0.01 (PENNY)
Nickel$0.05 (NICKEL)
Dime$0.10 (DIME)
Quarter$0.25 (QUARTER)
Dollar$1.00 (DOLLAR)
Five Dollars$5.00 (FIVE)
Ten Dollars$10.00 (TEN)
Twenty Dollars$20.00 (TWENTY)
One-hundred Dollars$100.00 (ONE HUNDRED)
" ], "challengeSeed": [ "function checkCashRegister(price, cash, cid) {",