Solve using matlab codes Problem 4: (15 points) A simple guessing game. Assume that you have a secret number between 0 and 1000. Write a simple program to allow the user to rind this number by consecutive guesses. Each time the user enters a guessed number, the program should display if the secret number is smaller or larger than the guessed number. The program should stop when the number that the user has entered is equal to the secret number. Also, at the end of the program if the number of total guesses is less than 10. the program should display: Awesome! You guessed the secret number with fewer than 10 attempts. Solution a=randi(1000); flag=0; itr=1; while flag ==0 b=input(\'please guess the number \'); if b==a && itr<=10 fprintf(\'\ awesome!!! you guessed in less than 10 attempts\ \'); flag=1; else if b==a && itr>10 fprintf(\'\ congrats!!! you guessed correctly\ \'); flag=1; else if b>a fprintf(\'\ wrong guess. please try again. your guess is greater than the secret number \ \'); else fprintf(\'\ wrong guess. please try again. your guess is lesser than the secret number \ \'); end end end itr=itr+1; end .