Page 1 of 1

code in java Given the values of three dice, return true if you win the game and false if you lose. You lose if the sum

Posted: Sat May 14, 2022 4:02 pm
by answerhappygod
code in java
Given the values of three dice, return true if you win the game
and false if you lose. You lose if the sum of both dice is 4 or 6
or if all three of the dice are the same. The value of the dice can
be 1 through 6.
getWin3(1, 1, 1) → false
getWin3(1, 2, 1) → true
getWin3(3, 1, 3) → false