Hi!
Can you help me how to compare my choose variable with multiple variable?
which i can be used?
because i used == but not working..
this is my code
if(this.myPick == this.box1 && this.myPick == this.box2) { bet=bet*2; money=money+bet; System.out.println("You Got Double: " + bet); } else if(this.myPick == this.box2 && this.myPick == this.box3) { bet=bet*2; money=money+bet; System.out.println("You Got Double: " + bet); } else if(this.myPick == this.box3 && this.myPick == this.box1) { bet=bet*2; money=money+bet; System.out.println("You Got Double: " + bet); } else if(this.myPick == this.box1 && this.myPick == this.box2 && this.myPick == this.box3) { bet=bet*3; money=money+bet; System.out.println("You Got Triple: " + bet);