Merge branch 'master' of ssh://gitea.ntut.com.tw:9487/omygod/OOP_Git_Training
This commit is contained in:
@ -17,8 +17,10 @@ bool Guess(int number)
|
|||||||
target = -1;
|
target = -1;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else std::cout << "Wrong" << std::endl;
|
else if (number > target) std::cout << "Smaller" << std::endl;
|
||||||
|
else if (number < target) std::cout << "Bigger" << std::endl;
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
int main(array<System::String^>^ args)
|
int main(array<System::String^>^ args)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user