The program will need to use a loop.
A loop is essential in this scenario because it allows the program to provide the player with five chances to guess the number by iterating through a set of instructions for each guess. An array could be used to store guesses, but it is not strictly necessary for just counting the number of guesses. A binary language is not relevant in this context, and while an object could be used, it is not required for the basic functionality described.