How do you output a String, integer, and double from an array? : <p>I am trying to print out names with their associated information. I want their age, salary, insurance, etc. I am trying to use a for loop to accomplish this, but I'm obviously missing something. I also don't want it to total the ages, I want it individually. I just can't find a way to print all of my information.</p>

<pre><code>public static double printArray(int[] noclue, String[] name, double[] age, double[] salary, double[] insurance, double[] expense, double[] savings) 
{
    int total = 0;
    String names = "";     
    for (int i = 0; i &lt; noclue.length; i++)
    {    
         total = total + noclue[i] 
         names = name[i];         
    }
return total;
return names;
}   
}
</code></pre>

<p>In the main:</p>

<pre><code>System.out.println(array.printArray(noclue, name, age, salary,insurance, expenses, savings));
</code></pre>
