why does n doesnt get the number i type in the program? I typed 1 and it got 49 :S
Random arrN = new Random();
int[] arr;
arr = new int[100];
int n;
bool game_result = false;
for (int i = 0; i < 100; i++)
{
arr[i] = arrN.Next(0, 1000);
}
Console.WriteLine("what game do you want to play?\n1- guessing one number.\n2- guessing numbers in range.\n3- exit");
n = Console.Read();