This was a pop quiz from my apprenticeship where the instructions were to create a console application where the computer picks a random number between 1 and 100, then has the user guess the number, and tells them after each guess whether they need to guess higher or lower.