冠宇甲

This commit is contained in:
2018-03-09 00:35:04 +08:00
parent fce0a075f9
commit d9fc3ea2e5

View File

@ -12,8 +12,12 @@ bool Guess(int number)
target = r.Next() % 100 + 1; target = r.Next() % 100 + 1;
} }
if (number == target)return true; if (number == target) {
std::cout << "Correct !!";
target = -1;
return true;
}
else std::cout << "Wrong" << std::endl;
return false; return false;
} }
int main(array<System::String^>^ args) int main(array<System::String^>^ args)