Java int[] table print reverse numbers : <p>I have been started coding Java and wan't to find solution for this:</p>

<p>I have table for this:</p>

<pre><code>int nmb[ ] = {1,2,3,4,5,6,7,8,9,10};
</code></pre>

<p>And it should output it the numbers reserve from 10 to 1</p>

<p>What i have tested so far haven't worked</p>

<pre><code>int nmb[ ] = {1,2,3,4,5,6,7,8,9,10}; 

    for(int i=10; i &gt;= 1; i--)
        nmb[i]=i*2;

    for(int i=10; i &gt;= 1; i--)
        System.out.println(nmb[i]);
</code></pre>

<p>Also the code should print out the 5th number in the string.</p>

<p>I will be really thankfully if you help me fix this.</p>
