Just simple program but something goes wrong
<p>I have very simple piece of code. The goal is when i input four-digit number to check and verify that is divisible by 3.</p>

<pre><code>     #include &lt;iostream&gt;
     using namespace std;
     int main()
{
     int number;
     cout&lt;&lt;"number: ";
     cin&gt;&gt;number;
     if(number%3==0)
     {
     cout&lt;&lt;"divisible by 3";
     }else{
       cout&lt;&lt;"not divisible by 3";
     }
}
</code></pre>

<p>And don't work.</p>

<p>I'm really really sorry. Seems the problem is in Dev++. I will delete this thread</p>
