what are we supposed to do in this question
. WAP where the scores of one round of a tennis game was fed to us(as input from console,obviously) and we had to display the player’s name that wins
Practicing interview questions
Hey @nmaurya760
Without input output ,none can tell u what the problem exactly demands .
So please only ask doubts from properly formulated questions
Can u give me some suggestions or hints how could v design a 2 player tennis game and at the end we need to print the name of the winner along with the score
Just maintain 4 variables inside a class that should be enough
Can u please elaborate
Mantain two vars of name of players and 2 for scores
Add one method to add point to players score
And add 1method to output the final result on the basis of score 