What's new

Help Rock, paper, scissor. C#

shion_

Eternal Poster
Established
Joined
Apr 28, 2016
Posts
1,156
Reaction
379
Points
494
Console.WriteLine("PLayer 1, what is your name?");
string player1 = Console.ReadLine();
Console.WriteLine("PLayer 2, what is your name?");
string player2 = Console.ReadLine();
Console.WriteLine("Welcome {0} and {1}",player1, player2);
Console.WriteLine("{0}, pick Rock, Paper, or Scissors.",player1);
String p1input = Console.ReadLine();

{
Console.WriteLine("");
}
Console.WriteLine("{0}, pick Rock, Paper, or Scissors.",player2);
string p2input = Console.ReadLine();


Patulong naman po gawan ng statement yung rule
 
pwede ka mag:
1. Compare mo isaisa
2. gumamit ng enum
3. gumamit ng dictionary
4. array na mag seserve as markers para malaman sino panalo
 

Similar threads

Back
Top