Leap Year Calculation - Homework
<pre><code>#include &lt;iostream&gt;
using namespace std;

int main() {
    int what_year;

    cout &lt;&lt; "Enter calendar year ";
    cin &gt;&gt; what_year;

    if (what_year - (n * 4) = 0 ) {

        cout &lt;&lt; "leap year";
    }

    else
    {
        cout &lt;&lt; "wont work";
    }

    system("Pause");
    return 0;
}
</code></pre>

<p>Trying to make a program for class, to find a leap year.. not sure how to ask C++ if an integer is divisible by a number?</p>
