I am in Intro Algorithmic Design II need help completeing this ineed comment through program also.
INCLASS:CashRegisterDemo
Complete P12.1 (uses section 12.1) — Class name:CashRegisterDemo (also Coin, CashRegister)
You will create the CashRegisterDemo to test theCashRegister
Question
P12.1
Modify the giveChange method of the CashRegister class in thesample code for Section 12.1 so that it returns the number of coinsof a particular type to return:
int giveChange(Coin coinType)
The caller needs to invoke this method for each coin type, indecreasing value.
12.1 Sample Code For Question:
public class CashRegister
{
public static final double NICKEL_VALUE = 0.05;
public static final double DIME_VALUE = 0.1;
public static final double QUARTER_VALUE = 0.25;
. . .
public void
PayPal Gateway not configured
PayPal Gateway not configured