I'm trying to create a Cash register that accepts euros. I don't even know where to begin. So far I have:
public class Coin
{
public Coin()
{
name = " ";
value = 0;
}
public Coin(String n, int v)
{
name = n;
value = v;
}
public String getName()
{
return name;
}
public int getValue()
{
return value;
}
public static final int AEURO_vALUE = .01;
public static final int SEURO_VALUE = .02;
public static final int FEURO_VALUE = .05;
public static final int TEURO_VALUE = .10;
public static final int TWEURO_VALUE =.20;
public static final int FFEURO_VALUE =.50;
public static final int HEURO_VALUE = 100;
public static final int THEURO_VALUE = 200;