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-10-06T09:29:18-0400
Dear ss, 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
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment