Only one player will win. Each round always adds one point to just one player, so just one player will be the first to reach ten points
Here is the logic that implements the main loop:
// Declare and Initialize final int endScore=10; int playerScore=0, compScore=0; // Play Rounds until one player reaches ending score while ( playerScore<endScore && compScore<endScore ) { . . . . }
The body of the loop corresponds to one round of the game.
(Review: ) What does final int endScore=10;
do?