Answered step by step
Verified Expert Solution
Question
1 Approved Answer
same project Design an application that will allow a user to keep track of theamount of tennis matches won by three professional tennis players. The
same project
Design an application that will allow a user to keep track of theamount of tennis matches won by three professional tennis players. The user should be presented with a menu usingthe numbers 1, 2 and 3 that corresponds to the tennis players below Tennis Players: 1. Novak Djokovic 2. Andy Murray 3. Roger Federer Prompt the user to choose a tennis player who has won a match from the menu using the numbers 1, 2 or 3; else the user enters 0 to quit. If the user chooses 1, 2 or 3, show the input section again and if the user then chooses 0, show a breakdown of the amount of matches won by each tennis player Please enter a 1,2 or 3 for the winning player: (1) Novak Djokovie (2) Andy Murray 3) Roger Federer Enter the player number who won match 1: 1 Enter the player number who won match 2: 1 Enter the player number who won match 3: 2 Enter the player number who won match 4 Please note that menu items appear in the Console window. Menu items do not need to be created. Your output should also display the amount of games that have been captured NOVAK DJOKOVIC:2 ANDY MURRAY:1 ROGER FEDERER: 0 GAME COUNT: 3Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started