need assistance with a input issue in java : <p><strong>My Task:</strong></p>

<p>Create a class called Icosahedron which will be used to represent a regular icosahedron, that is a convex polyhedron with 20 equilateral triangles as faces. The class should have the following features:</p>

<ul>
<li><p>A private instance variable, <strong>edge</strong>, of type <strong>double</strong>, that holds the
edge
length.</p></li>
<li><p>A private static variable, <strong>count</strong>, of type <strong>int</strong>, that holds the
number of Icosahedron objects that have been created.</p></li>
<li><p>A constructor that takes one <strong>double</strong> argument which specifies the edge length.</p></li>
<li><p>An
instance method <strong>surface()</strong> which returns the surface area of the
icosahedron. This can be calculated using the formula <strong>5*√3 edge².</strong></p></li>
<li><p>An
instance method <strong>volume()</strong> which returns the volume of the icosahedron.
This can be calculated using the formula <strong>5*(3+√5)/12*edge³</strong>.</p></li>
<li><p>An
instance method <strong>toString()</strong> which returns a string with the edge
length, surface area and volume as in the example below:</p>

<p><code>Icosahedron[edge= 3.000, surface=  77.942, volume=  58.906]</code> </p></li>
</ul>

<p>The numbers in this string should be in floating point format with a field
 that is (at least) <strong>7 characters wide</strong> and showing <strong>3 decimal places</strong>.</p>

<p>Please use the static method <strong>String.format</strong> with a suitable formatting
 string to achieve this. A static method <strong>getCount()</strong> which returns the
 value of the static variable count. </p>

<p>Finally, add the following main method to your Icosahedron class so that it can be run and tested:</p>

<pre><code>public static void main(String[] args) {
  System.out.println("Number of Icosahedron objects created: " + getCount());
  Icosahedron[] icos = new Icosahedron[4];
  for (int i = 0; i &lt; icos.length; i++)
    icos[i] = new Icosahedron(i+1);
  for (int i = 0; i &lt; icos.length; i++)
    System.out.println(icos[i]);
  System.out.println("Number of Icosahedron objects created: " + getCount());
}
</code></pre>

<p>Okay. so heres what i have started on:</p>

<pre><code>import java.util.Scanner;
public class Icosahedron {
    private double edge = 0;
    private int count = 0;
    Scanner input = new Scanner(System.in);
    double useredge = input.nextDouble();
    System.out.println("Enter Edge Length: ");

}
</code></pre>

<p>i receive an error on the last line. i cant use println() what am i doing wrong? or maybe im understanding the question wrong? any guidance would be appreciated.</p>

<p>thanks.</p>
