title: Which code is cleaner with better design?
body: <p>Exhibit A</p>
  
  <p>So this code has the printf function and the integer input is stored afterwords. Is this clean code?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;cs50.h&gt;
  
  int main(void)
  {
      int input;
      do
      {
          printf("Enter a positive number: \n");
          input = get_int();
      }
      while (input &lt;= 0);
  }
  </code></pre>
  
  <p>Exhibit B</p>
  
  <p>I prefer this one since there's less lines, but are the end results the same in comparison between the two?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;cs50.h&gt;
  
  int main(void)
  {
      int input;
      do
      {
          input = get_int("Please enter a positive integer: \n");
      }
      while (input &lt;= 0);
  }
  </code></pre>