Need to know if what I have so far is correct, also need help with the calculate to change and string methods.
This is the assignment:
v6XF2y8.jpg
public class ChangeMaker { private double money; private int numberOfQuarters; private int numberOfDimes; private int numberOfNickels; private int numberOfPennies; public ChangeMaker() { numberOfQuarters = 0; numberOfDimes = 0; numberOfNickels = 0; numberOfPennies = 0; } public double getMoney() { return money; } } public void setMoney(double amount) { money = amount; } public void calculateChange(); { } public String toString(); { } }