title: Calling a method for calculation
body: <p>So I made a class that is supposed to calculate the number of beers needed to become intoxicated. My class receives User Input for the name of the beer, the alcohol content, and then the user's weight to make the calculation.</p>
  <p><strong>Here's my whole Beer class</strong></p>
  <pre><code>public class Beer {
  
  private String name;
  private double alcoholContent;
  
  //Default apple values (Constructors)
  public Beer()
  {
      this.name = &quot;&quot;;
      this.alcoholContent = 0.0;
  }
  //Accessors
  public String getName()
  {
      return this.name;
  }
  public double getAlcoholContent()
  {
      return this.alcoholContent;
  }
  //Mutators
  public void setName (String aName)
  {
      this.name = aName;
  }
  public void setAlcoholContent (double aAlcoholContent)
  {
      if (aAlcoholContent &lt; 0 || aAlcoholContent &gt; 1)
      {
          System.out.println(&quot;That is an invalid alcohol content&quot;);
          return;
      }
      this.alcoholContent = aAlcoholContent;
  }
  //Methods
  public double Intoxicated (double aWeight)
  {
      double numberOfDrinks = (0.08 + 0.015) * aWeight / (12 * 7.5 * this.alcoholContent);
      return numberOfDrinks;
  }
  </code></pre>
  <p><strong>This is specifically my  intoxicatedmethod in the class (I think it's right):</strong></p>
  <pre><code>public double Intoxicated (double aWeight)
  {
      double numberOfDrinks = (0.08 + 0.015) * aWeight / (12 * 7.5 * this.alcoholContent);
      return numberOfDrinks;
  }
  </code></pre>
  <p><strong>This is what the output window is supposed to look like, receiving User Input for the weight and then performing the calculation to see how many beers it would take based on the user's input when previously defining two beers to be considered intoxicated:</strong></p>
  <blockquote>
  <p>What’s the weight of the person consuming said beverages?</p>
  <p>185</p>
  <p>It would take 3.166 &quot;firstBeerName&quot; beers to become intoxicated.</p>
  <p>It would take 1.979 &quot;secondBeerName&quot; beers to become intoxicated.</p>
  </blockquote>
  <p><em>The intoxicated formula was given to me, I don't know how to properly set up my class testing  main method file which calls this class to reflect that output.</em></p>