Simple Error '(' expected
<pre><code>public void displayResults
{
    for(int i = 0; i &lt; arrayLength; i++)
    {
          System.out.printf("Value %d = %.6f\n", i, list[i]);
    }

    System.out.printf("Sum of all values = %0.6f\n", sum);
    System.out.printf("Average of all values = %0.6f\n", average);
    System.out.printf("Largest value = %0.6f\n", largest);
    System.out.printf("Smallest value = %0.6f\n", smallest);
}
</code></pre>

<p>I am getting the good old <code>error: '(' expected</code></p>

<p>at where the <code>{</code> should be, I really don't see whats wrong with what I have. Been staring at this same error for almost a hour. really hoping a new set of eyes can see the issue.</p>

<pre><code>public void displayResults
 ==&gt;   {
       for(int i = 0; i &lt; arrayLength; i++)
       {
</code></pre>
