Can someone help me on Cash Register?

|Penny|$0.01 (PENNY)|
|Nickel|$0.05 (NICKEL)|
|Dime|$0.1 (DIME)|
|Quarter|$0.25 (QUARTER)|
|Dollar|$1 (ONE)|
|Five Dollars|$5 (FIVE)|
|Ten Dollars|$10 (TEN)|
|Twenty Dollars|$20 (TWENTY)|
|One-hundred Dollars|$100 (ONE HUNDRED)|

checkCashRegister(19.5, 20, [[“PENNY”, 1.01], [“NICKEL”, 2.05], [“DIME”, 3.1], [“QUARTER”, 4.25], [“ONE”, 90], [“FIVE”, 55], [“TEN”, 20], [“TWENTY”, 60], [“ONE HUNDRED”, 100]]);

Here [[“PENNY”, 1.01] is equal to $ or PENNY?
PENNY=$1.01 or PENNY=1.01penny

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.