This commit is contained in:
2018-03-09 00:16:00 +08:00
parent c5138822d4
commit fce0a075f9

View File

@ -4,6 +4,16 @@
using namespace System;
bool Guess(int number)
{
static int target = -1;
if (target == -1)
{
Random r;
target = r.Next() % 100 + 1;
}
if (number == target)return true;
return false;
}
int main(array<System::String^>^ args)