Sum of squares calculation
<blockquote>
  <p>Write a program that displays the sum of the squares of each integer in the multiplication table. integers 1-10<br>
  From Professor:The values in the table should be the rowNum squared plus the colNum squared. So, the first entry is 2 (rowNum = 1, colNum = 1. 1^2 + 1^2 = 1 + 1 = 2).  The next entry is 5 (rowNum = 1, colNum = 2. 1^2 + 2^2 = 1 + 4 = 5). </p>
</blockquote>

<p>My code won't print anything but the Titles. No calculation. Table should like something like this:</p>

<pre>
    1  2  3   4   5 ....
1   2  5  10  17  26....
2   5  8  13  20  29.... 
</pre>

<pre><code>public class Mobilesumcp3ex3 {

    /**
     * @param args the command line arguments
     */

    public static void main ( String [] args )
    {
        // Display a title
        System.out.println( " Sum of Multipication Table" );
        System.out.println( "-------------------" );             


        int num[] = new int[10];          
        int sq[] = new int[10];                
        int sum = 0;              
        for (int i = 0; i &lt; num.length; i++) {                       

            sq[i] = num[i] * num[i];                       
            sum += sq[i];   
        } 
        System.out.println(num+"\t"+sum);
        System.out.println("Sum of the square of numbers: " + sum);    
    }
}
</code></pre>
