Printing product of odd numbers 1 -15
<p>I need to write a program that will print out the product of all the odd integers between 1 and 15. HOwever no matter what i try it won't work, and will just print product. Did i mess up the if statement? Here is my code:</p>

<pre><code>//Sophia Ali
#include &lt;iostream&gt;

using namespace std;



int main()
{
    int i;
    int product;

    for ( i = 1; i &lt;=15; i+=2)
    {
        if(i%2!=0)
            product = product * i;
        else
            continue;

    }
    cout &lt;&lt; "\n product: " &lt;&lt; product;
    return 0;
}
</code></pre>
