Bodi's Hi Low Program

I'm thinking of a number between 1 and 1,000,000, try to guess it.

Objective: Guess a number between 1 and 1,000,000