Im having some troble with else if statements please help.

After the first ‘if’ condition open curly brackets ‘{’ to signify the start of the ‘if’ block, and then close the ‘if’ block with close curly brackets ‘}’. Similarly, enclose the 3 statements in the ‘else if’ inside curly brackets ‘{ }’.

I would edit the code for you, but instead of pasting the code in your question, you pasted an image of your code. It’s better to paste the actual code inside a code sample window (click the ‘101010’ icon to open the window), to get better responses to your questions.

EDIT: Added the code

 // Update is called once per frame
     void Update () { 
         
     if (Input.GetKeyDown(KeyCode.UpArrow))
     {
          print ("Up arrow key was pressed");
          minimum = guess;
          guess =(maximum=minimum) / 2;
          print ("Is it higher or lower than" + guess);
      }       
      else if (Input.GetKeyDown(KeyCode.DownArrow))
      {      
          print ("You pressed down arrow");
      } 
      else if (Input.GetKeyDown(KeyCode.Return)) 
      {
          print ("Yes I guessed right! You live!");
      }
}