Question: Write code and solve in Matlab Write a program using a while loop that will have the user begin with a number and then have
Write code and solve in Matlab
Write a program using a while loop that will have the user begin with a number and then have them keep guessing till they get the correct answer. Tell the user that they either need to go up or down. For example, if the correct number is and the user picks you will prompt to the command window, "please enter a higher value." Continue with the prompts till the user enters the correct answer. Note: Have matlab create a random integer between and to use as the number the user is guessing.
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
