Question: please write a complete Matlab script to resolve the question, thank you P1 Program 3 Name: Chen Engineering 2, Spring 2017 Objectives Write a Matlab

please write a complete Matlab script to resolve the question, thank you
 please write a complete Matlab script to resolve the question, thank

P1 Program 3 Name: Chen Engineering 2, Spring 2017 Objectives Write a Matlab script using random numbers, if statements, and loop statements. Have fun play-testing your own game! Introduction Write a complete Matlab script for the High-Low guessing game. First, the game should generate a random number between 1 and 150. Then, it should ask the user to make a guess at the number. Of course, every time the user makes a guess, one should be added to the number of guesses made. If the user is too high, the program should give the user some appropriate feedback and then give the user another chance; if the guess is too low, the program should give the user appropriate feedback and then give the user another chance to guess. If the guess is correct, the program should give the user some praise and then let them know how many guesses it took them to make that correct guess. At this point, the program should give the user an option to play again or end the program. If they would like to play again, everything should essentially start over. If they would like to end the program instead, the program should print out an appropriate goodbye message. Instructions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!