how to minimize and maximize turbo c++