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.
javascript js freecodecamp freecodecamp-challenge algorithm-scripting freecodecamp-project cash-register freecodecamp-javascript freecodecamp-javascript-algorithms alogorithm-scripting-challange check-cash-register freecodecamp-algorithm
- Updated
Mar 20, 2023 - JavaScript