Question: This is an extra credit project ( not mandatory ) . If you successfully implement the program, you will get 3 % ON TOP OF
This is an extra credit project not mandatory If you successfully implement the program, you will get ON TOP OF YOUR FINAL GRADE.
Guessing problem.
Write a program which accepts a number, between and from player and then accepts guesses from player If player s guess is above or below player s number, print out a message, "too high" or "too low" respectively.
When you implement this program, you have to have at least one function using "jal" instruction to call iteg you may have a function that determines which one is larger or smaller between numbers.
When the number is guessed correctly, the program will display a message "correct" and the number of tries. Exclude the numbers and
How many tries are required to guarantee a solution? HINT: binary search Discuss your answer in the "Comments" section in your code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
