title: Debug Exercise for Java 1
body: <pre><code>import java.util.*;  
  import java.applet.*; 
  import java.util.Scanner; 
  public class Game
  {
  public static void main(String[] args){  
  
  System.out.println("I am ready to play!");
    Scanner input = new Scanner(System.in);
          System.out.println("What's your age?");
          String userinput = input.nextLine();
          if (userinput &lt; 13){
              System.out.println("You are allowed to play at your own risk");
          } else
              System.out.println("Play On!");
          }
  System.out.println("You are at an Iggy concert, and you hear this lyric 'Are you ready?, start       running.'");
  System.out.println("Suddenly, Iggy stops and says, 'Who wants to race me at running?'");
  
    Scanner input = new Scanner(System.in);
          System.out.println("Do you want to race Iggy on stage?");
          String userinput = input.nextLine();
          if (userinput == yes){
              "You and Iggy start racing. It's neck and neck! You win by a shoelace!");
          } else
              System.out.println("Oh no! Iggy shakes his head and sings 'I set a pace, so I can race without pacing.'");
  
  var feedback = prompt("Rate your game out of 10");
  if(feedback &gt; 8)
  {
      console.log("Thank you! You should race again at the next concert!");
  }
  else
  {
      console.log("I'll keep practicing coding and racing.");
  }
  }
  }
  </code></pre>
  
  <p>This is an assignment for a Java 1 class in high school and I have no idea how to fix all of this.
  I realize that there are a ton of errors and this is pretty irrelevant to anyone but me but I want to actually learn java and this class isn't teaching me anything, so any help would be greatly appreciated. </p>