some translation
This commit is contained in:
parent
aaf83ceea6
commit
3829dd8004
@ -8,18 +8,18 @@ int guess;
|
||||
int trials = 0;
|
||||
do
|
||||
{
|
||||
Console.Write("Wprowadź wartość: ");
|
||||
Console.Write("Enter value: ");
|
||||
guess = Convert.ToInt32(Console.ReadLine());
|
||||
|
||||
if (guess > value)
|
||||
Console.WriteLine("Za dużo!");
|
||||
Console.WriteLine("Za high!");
|
||||
else if (guess < value)
|
||||
Console.WriteLine("Za mało!");
|
||||
Console.WriteLine("Za low!");
|
||||
|
||||
trials++;
|
||||
} while (guess != value);
|
||||
|
||||
Console.WriteLine($"Wygrana w {trials} próbie!");
|
||||
Console.WriteLine($"Win w {trials} próbie!");
|
||||
Console.Write("Podaj swoje imię: ");
|
||||
var name = Console.ReadLine();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user