title: Initializing an instance variable as well as attributes and a scanner
body: <p>I've been having difficulty putting this project together. The idea was to calculate the average grades of students in a classroom with instance variables and scanners. I understand the output and input portion of the assignment but I am struggling the coding below.</p>
  
  <pre><code>public class Averages extends Object 
  {
  
  // Put any attributes / instance variables here. */
  private String name;
  // create grade1, grade2, and your Scanner.
  
  // Constructor 
  public Classroom () 
  {
    // initialize any attributes that need initial values here */
    // initialize your Scanner
    return;
  }
  </code></pre>
  
  <p>Then once created I'm supposed to modify my original coding so that it uses instance variables rather than parameter variables. Here is what I originally had:</p>
  
  <pre><code>public double calcAverage (double a, double b) 
  {
    return ((a + b) /2.0); 
  }
  </code></pre>