title: simple java calculator won't output correct in the if else statments
body: <p>Not sure what I'm doing wrong here but the output comes out as </p>
  
  <p>Enter 2 numbers 
  15 25 (for example)
  Select whether you'd like to add, subtract, multiply or divide.</p>
  
  <p>The user selects <code>add</code>. Then nothing happens? </p>
  
  <pre><code>import java.util.Scanner;
  
  public class Lab1 {
  
      public static void main(String[] args) {
  
          @SuppressWarnings("resource")
          Scanner input = new Scanner(System.in);
  
          System.out.println("Enter 2 numbers ");
          int numb1 = input.nextInt();
          int numb2 = input.nextInt();
          System.out.println("Would you like to add, multiply, subtract or divide");
          String add = input.next();
          String multiply = input.next();
          String divide = input.next();
          String subtract = input.next();
  
          if (input.equals(add)) {
  
              System.out.println(numb1 + " + " + numb2 + " is: " + (numb1 + numb2));
  
          }
  
          else if (input.equals(multiply)) {
              System.out.println(numb1 + " * " + numb2 + " is: " + (numb1 * numb2));
          }
  
          else if (input.equals(divide)) {
              System.out.println(numb1 + " / " + numb2 + " is: " + (numb1 / numb2));
          }
  
          else if (input.equals(subtract)) {
              System.out.println(numb1 + " - " + numb2 + " is: " + (numb1 - numb2));
          }
  
          else {
              System.out.println("Try again");
          }
      }
  }
  </code></pre>