Write a mips program guess which tries to guess what number


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".

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a mips program guess which tries to guess what number
Reference No:- TGS0661235

Expected delivery within 24 Hours