Guessing Game Algorithm

I have picked a secret number between 1 and 100. Try to guess it!