Compare commits

..

No commits in common. "d117584a84dc0fcf7962fc806d2f20bdf43a5630" and "5681e86c746b46f57fa545f5d9f47e5eb3bdc88e" have entirely different histories.

View File

@ -1,8 +1,6 @@
using System.Text.Json;
using Lab1;
const string EnterValue = "Enter value:";
var rand = new Random();
var value = rand.Next(1, 100);
@ -10,7 +8,7 @@ int guess;
int trials = 0;
do
{
Console.Write(EnterValue);
Console.Write("Enter value: ");
guess = Convert.ToInt32(Console.ReadLine());
if (guess > value)