Write a JAVA program that reads from the standard input stream (System.in) the order of cards in a deck and outputs who will win as well as the number of rounds played. It is assumed that there are two players, Player 0 and Player 1. So a possible output is : Player 1 wins after 112 rounds. After 5791 rounds, you should output: Draw after 5791 rounds.
Attachment:- CSE2100-HW2.pdf