Question: **Code Language is Java** **Please reply with a screenshot instead of text** Here is a slight variation of Jeopardy! game we covered in the course
**Code Language is Java**
**Please reply with a screenshot instead of text**

Here is a slight variation of Jeopardy! game we covered in the course - it has penalty for wrong answers. Also, there are 3 rounds, each round has 5 categories & each category has 6 questions worth $100, $200, $300, $400, $500 & $1000 total 3 * 5 * 6 90 questions, so 90 lines of input, however, if a player answers a question incorrectly, that line should NOT be counted, since another player may attempt the same question. If no one answers a question correctly, that question is skipped - it is indicated with 0 in input. See the table below to understand it better. Output the final score for each player and output the winner. Sample Input Explanation 1 200 2 300 3 1000 2 -200 3 200 3 400 Player 1 gets 200 for 1st question Player 2 gets 300 for 2nd question Player 3 gets 1000 for 3rd question Player 2 loses 200 for 4th question Player 3 gets 200 for the same question Player 3 gets 400 for 5th question No one answered 6th question Player 2 gets 500 for 7th question Player 3 gets 1000 for 8th question 8 questions done, 82 to go! 2 500 3 1000 (82 more questions) Output format: Player 1: XXXXX Player 2: YYYYY Player 3: ZZZZZ Player N is the winner
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
