Skip to content

Conversation

imjane5
Copy link
Contributor

@imjane5 imjane5 commented Apr 13, 2022

Closes #15

Console.WriteLine("Player 4: " + player4);
Console.WriteLine("Player 5: " + player5);

if ((player1 == player2)|| (player1 == player3)|| (player1 == player4)|| (player1 == player5))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

player1 == player2 is same as player2 == player1.
In this case both player1 and player2 are moved to next level

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set1Task6 - Add decision logic to your code using the if-elseif-else statement
2 participants