冠宇甲
This commit is contained in:
@ -12,8 +12,12 @@ bool Guess(int number)
|
||||
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;
|
||||
}
|
||||
int main(array<System::String^>^ args)
|
||||
|
Reference in New Issue
Block a user