Write a MIPS program guess which tries to guess what number you have chosen in as few guesses as possible. It can only ask you whether the number is less than some other number. The dialog on the console panel should look something like this:
Choose a number between 0 and 16.
Is it less than 8? y
Is it less than 4? n
Is it less than 6? n
Is it less than 7? n
Your number is 7.
The expected user inputs are y for "yes" and n for "no".