Computer Science, asked by polavarapupavani1, 11 months ago

Mr. Jack has recently started gambling. He plays Number BlackJack. In this game, the players draw numbered cards and whoever has a value closer to 21 wins. However, if the number goes over 21 then both lose. If both have the same value, then also both of them lose. Given the values possessed by 2 players, you have to tell us who wins. Write a method Met that takes input 2 integers: the first integer is Player 1’s value and 2nd integer is Player2’s value. You have to print Player1 if Player1 wins, Player2 if Player2 wins and Rematch if both lose. Only write the method - assume that the Class & main method have been defined. Use the System.out.println() statement for printing. Example Input: 14 18 Output: Player2 Example Input: 21 3 Output: Player1 Example Input: 27 32 Output: Rematch

Answers

Answered by brijeshsharma10
0

Answer:

da lol da lol da on Friday kb to ki go red too late y handle the rest of the yo I

Explanation:

hjfur and get a new one for you trying to get y to go to too that would be a great time t to be in the same area as the one you want to do the rest of the week is the last time we were there for you when you are here and I'll try to get it to you as soon you know if I can t it was good y u know you yo it's it to re y Italy rei ye Ed ei di this unit ry it to use re igloos he the your this r

Similar questions