Multiple Comparison operators?
<p>im having trouble using multiple operators while programing a simple FizzBuz in C</p>

<pre><code>#include &lt;stdio.h&gt;
int main(void) {
    int n;
    scanf("%d", &amp;n);
    if (0 &lt; n &lt; 10000){
        for (int i = 1; i &lt;= n; i ++) {
            if (i % 15 == 0) {
                puts("TikTak");
            }
            else if (i % 3 == 0) {
                puts("Tik");
            }
            else if (i % 5 == 0) {
                puts("Tak");
            }
            else {
                printf("%d\n", i);
            }
        }
    }else{
        printf("-1");
    }
}
</code></pre>

<p>Now the "if (0 &lt; n &lt; 10000)" comparison operators is ignored for some reason, but if I rewrite it as:</p>

<pre><code>if (n &lt; 10000 &amp;&amp; n &gt; 0){
</code></pre>

<p>it will work as intended.</p>

<p>Am I missing something? Ill be honest Im newbie in C programing. haha</p>

<p><strong>EDIT:</strong> Thanks everybody, haha that was quite simple. I thought that might be the issue I just waned to make surebecause "0 &lt; n &lt; 10000" is litteraly how the assigment says it should look like.</p>

<p>Again, thanks!</p>