Compare commits
2 Commits
2dfb7826d3
...
b49b777b37
Author | SHA1 | Date | |
---|---|---|---|
b49b777b37 | |||
|
e559eb8f4b |
@ -8,13 +8,13 @@ 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 big!");
|
||||
else if (guess < value)
|
||||
Console.WriteLine("Za mało!");
|
||||
Console.WriteLine("Za small!");
|
||||
|
||||
trials++;
|
||||
} while (guess != value);
|
||||
|
Loading…
Reference in New Issue
Block a user