Basic Salary Array Converted to Total Salary Array : <p>I've created this <em>Array</em> which holds Basic Salary</p>

<pre><code>static String[] BASICSALARY = {"$8096","$7661","$2427","$8467","$9122"," "," "," "};
</code></pre>

<p>And I'm willing to calculate the Total Salary in a method and then print the Total Salary Beside the Basic.</p>

<pre><code> private static void CalTotalSalary() 
    {
        System.out.println(" ID\tEmployee Name\t\t Years of Expirence\tBasic Salary\t\tTotal Salary");
        int size = ID.length;
        for (int i=0; i&lt;size; i++)
        {
             System.out.println(" " + ID[i] + "    " + FN[i] + " " + LN[i] + "\t\t " +
                    YEARSOFEXP[i] + "\t\t" +BASICSALARY[i] ); 

        }


    }
</code></pre>

<p>I have thought of simply making an Array and enter the values manually, But in fact, I need to do the Calculation inside the program. Otherwise this's not programming.</p>

<p>Any Suggestions? </p>
