title: Check whether the second number is greater than or less than to first number
body: <p>Im doing an testing program. There will be 2 inputs, first number and second number.Check the first number if it is greater than or less if the first number is less to second number. The user will input again the "Enter second number", i dont know how should I do the do while in there. thanks</p>
  
  <p>This is my code:</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  
  int main()
  {
      int number1,number2,total;
      printf("Enter first number");
      scanf("%d",&amp;number1);
      printf("Enter second number");
      scanf("%d",&amp;number2);
      if(number1 &gt; number2)
      {
        total = number1 - number2;
        printf("%d",total);        
      }
      else
      {
          printf("Number 1 is less than to number 2");
      }
  
      return 0;
  
  }
  </code></pre>