Adam regularly challenges one of his teachers to a pool competition. The winner of their matches is the person who wins the most individual games of pool. Adam wishes to write a computer program to calculate the total number of times each player wins a game and display a message congratulating the winner of the overall match.
a) Adam wants the program to:
* repeatedly ask the user to input the winner of each game
* stop asking for input when the character “X” is entered
* add up the number of wins for each player as the winner of each game is inputted
* display a message congratulating the player who won the most games or display a message saying that the match was tied.
Write a program below that meets Adam’s requirements.
1
Expert's answer
2018-11-19T05:40:12-0500
Dear rtnrtrty , your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment