A new hot dog truck just arrived. In order to buy a hot dog, you need to guess his secret number. It's between 1 and 50. You have an unlimited amount of guesses. Even if your guess isn’t correct, the hot dog truck will tell you if the secret number is greater or less than your answer. Enjoy! Thanks to karenb for part of the code.