double geteuro();{
int euro = (coins * .25);
return euro;
}
double euro = (coins * .25);
It should be.
also, it appears you may be missing an ending bracket after this...
Type: Posts; User: javapenguin
double geteuro();{
int euro = (coins * .25);
return euro;
}
double euro = (coins * .25);
It should be.
also, it appears you may be missing an ending bracket after this...
int slot1 = slotNumber.nextInt(3) + 1;
int slot2 = slotNumber.nextInt(3) + 1;
int slot3 = slotNumber.nextInt(3) + 1;
Oh....you do, but why not have that in the get methods? ...
public int getSlot1(){
return slot1;
}
public int getSlot2(){
return slot2;
}
public int getSlot3(){
return slot3;