code to find the largest number in the array but it only showing the first number as the largest. someone please let me know why : <pre><code>    #include &lt;iostream&gt;

using namespace std;

int findLargest()
{
    int arg[25],largest,size,i,j;
    cout&lt;&lt;"enter the size of array"&lt;&lt;endl;
    cin&gt;&gt;size;
    cout&lt;&lt;"enter the numbers"&lt;&lt;endl;
    for(i; i&lt;size; i++)
    {
        cin&gt;&gt;arg[i];
    }
    for(j=1; j&lt;size; j++)
    {
        largest=arg[0];
        if(arg[0]&lt;arg[j])
        {
            largest==arg[j];
        }
    }
    cout&lt;&lt;"The largest number is : "&lt;&lt;largest;

}
int main()
{
findLargest();    

    return 0;}
</code></pre>

<p>whats wrong with this?
wrote this code to find the largest number in the array
but it only shows the first number in the array as the largest</p>
