title: BlueJ Calculator
body: <p>I need to create a calculator that can add, subtract, multiply, divide, absolute value, and round.
  This is what I have so far</p>
  
  <pre><code>import java.util.Scanner;
  public class Calculator
  {
      public static void main(String[] args)
      {
  
      }
      public static int add(int num1, int num2)
      {
          return num1 + num2;
      }
      public static int subtract(int num1, int num2)
      {
          return num1 - num2;
      }
          public static int multiply(int num1, int num2)
      {
          return num1 * num2;
      }
          public static double divide(double num1, Double num2)
      {
          return num1 / num2;
      }
          public static double absoluteValue(double num1)
      {
          return;
          if (num1 &lt; 0)
          {
              return = num1 * -1; 
          }
          else
          {
              num1;
          }
      }
          public static double round(double num1)
      {
          return;
          if (num1 + 0.5 &gt;= (int) num1 + 1
          {
              int num2 = (int) num1 + 1
              return = num2;
          }
          else
          {
              return = (int) num1
          }    
      }
  }
  </code></pre>
  
  <p>It will not compile correctly, and I do not know if it will function. What do I need to do to fix it?</p>