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.
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 < noclue.length; i++)
    {    
         total = total + noclue[i] 
         names = name[i];         
    }
return total;
return names;
}   
}
In the main:
System.out.println(array.printArray(noclue, name, age, salary,insurance, expenses, savings));
 
    