Skip to content

Commit

Permalink
#2: Változók létrehozása
Browse files Browse the repository at this point in the history
  • Loading branch information
PAULTR71 committed Mar 6, 2019
1 parent 388d506 commit aa296e4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions kpo/kpo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,20 @@ static void Main(string[] args)
///Megoldandó feladat 1:
///Ciklikus programfutás, amig a felhasználó szeretne játszani
bool moreGame = true;

///Feladat 2: Változók létrehozása
///
string compChoice = "";
string playerChoice = "";

int compScore = 0;
int playerScore = 0;

Console.WriteLine("*******Kő/Papir/Olló játék*********");

do
{




Console.Write("Akarsz még játszani? i/n");
if (Console.ReadKey(true).KeyChar == 'n')
{
Expand Down

0 comments on commit aa296e4

Please sign in to comment.