67 cents can be given as 2 quarter(s) 1 dime(s) 1 nickels and 2 penny(pennies).
void computeCoin(int coinValue, int& number, int& amountLeft)(Note: number must be a value parameter). You will need to make several function calls. For example, if the value of amountLeft is 24, then after the call of computeCoin() feeding coinValue 10 (for dimes), number will become 2 and amountLeft will become 4.