title: Expected expression error in C
body: <p>I'm trying to create two functions. The first function accepts integer inputs from the user until they are between 0 and 100. The seconds function display the validation  to the stdOut.
  However, it keeps giving me an error saying "Expected expression" when I call the function.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
      // function prototype for the function input
      int input(int);
      // function prototype for the function validate
      int validate(int);
  
      //main function
      int main(void)
      {
  
          //calling the function input
          input(int x)
          //calling the function validate
          validate(int y)
  
          return 0;
  
      }
  
      // Function definition for input
      int input(int a)
      {
          int r;
          printf("Enter the int value of r\n");
          scanf("%d",&amp;r);
      }
  
      // Function definition for validate
      int validate(int b)
      {
          int r;
  
          if(r&gt;= 0 &amp;&amp; r&lt;= 100)
              printf("Valid number");
          else
              printf("Invalid");
      }
  </code></pre>