0

Can anyone please help me with this

Consider a table tennis or badminton match for which you need compute predict the winner and the percentage of odds of the winner as and when a point is scored. The sport for which you are developing this program can be table tennis or badminton. For table tennis consider 11 points to win with 2 point difference and best of 5 games for the match. For badminton consider 21 points to win with 2 points difference, and best of 3 games for the match. For simplicity, write a console application as follows. 1. Input the player names 2. Prompt for each point 3. Depending on the point winner compute and print the winner and percentage 4. During service breaks, adjust the odds giving advantage to the server 5. At the end of the game predict and print the winner and percentage

11th Mar 2022, 12:04 PM
Prajwal Patil
2 Answers
+ 1
Can you specify what you need help with in your program as my assumption is that you just stated what the program will do
13th Mar 2022, 12:43 AM
rafalzacher1
+ 1
Cool task! Do you have some code to show where you are stuck?
14th Mar 2022, 4:22 AM
Ausgrindtube
Ausgrindtube - avatar