title: Using 'continue' with boolean-based statements in C
body: <p><strong>For those of you who didn't understand - I KNOW this is NOT how a good code should look like... The purpose of this tricky question is to write a code without if-statements in order to practice boolean logic...</strong></p>
  
  <p>I'm trying to solve a question in C which restricts the programmer from using if/else/switch statements. <strong>cant use ternary operators either.</strong>
  The idea is to use boolean based logical statements to get the "wanted path".
  i.e - instead of:</p>
  
  <pre><code>if (1 &gt; 0)
     printf("TRUE")
  else
     printf("FALSE")
  </code></pre>
  
  <p>I would use:</p>
  
  <pre><code>bool res = true;
  res = (1 &gt; 0 &amp;&amp; printf("TRUE")) || printf("FALSE")
  </code></pre>
  
  <p>(this is the general idea, using the boolean statement processing logic to manipulate different actions.
  The only problem I ran into was to replace a part that looks somewhat like this (where i want the program to skip a certain part of the loop if A is equal to B):</p>
  
  <pre><code>while (...)
  {
     if (A == B)
         continue;
     //code
  }
  </code></pre>
  
  <p>Do you know if this is possible to execute without using if/else/switch statements?</p>
  
  <p>Thanks!!</p>