For If Else Statement : <p>Working on this problem and I'm stuck. I know this should be a simple fix, but I'm not sure. I believe it's stuck in a for loop so the could keep on repeating but I'm not sure how to fix it. I tried adding a printf and scanf function, That didn't work. Adding a do while. that didn't work. I'm obviously making this thing harder than it needs to be.   </p>

<pre><code>    int i;

    for (int i = 0; i &lt;= 10; i++)
    {
        if (i = 5)

        {
            printf("\nFive is my favorite number\n");
        }
        else
        {
            printf("\n%di is \n", i);
        }

    }
</code></pre>
