Computer Science, asked by manjulapagadala999, 9 hours ago

P
Algorithms: Round Won
You are playing a game of badminton consisting of N rounds
with your friend.
If your current score is greater than or equal to your friend's
current score, you serve the round. Else, your friend serves the
round.
The playback of your game is given as a string of N characters.
You are always the first person to serve.
The ith character is “W” if the server of the i-th round won the i-
th round, else the ith character is “L”.
Print your final score and your friend's final score separated by
a space.
Note
Here, score of a player is the number of rounds won by the
player. programming​

Answers

Answered by abdulmannanzahir2011
0

Answer:

N is you ans

Explanation:

Similar questions