title: C error cannot convert argument 1 from int * to int
body: <p>new to C and learning. I keep getting error (C2664: 'int readScores(int,int,int)' : cannot convert argument 1 from 'int *' to 'int'). I have no clue on how to fix it. I'v tried looking it up but don't understand the error code...
  How can I fix it?
  Also any pointers and or/tips on the code would be greatly appreciated.
  Thanks </p>
  
  <pre><code>#define _CRT_SECURE_NO_WARNINGS
  #include &lt;stdio.h&gt;
  
  // Functions 
  int readScores(int test1, int test2, int test3);
  int determineGrade(int test1, int test2, int test3);
  void print(int test1, int test2, int test3);
  
  
  int main(void)
  {
      int test1;
      int test2;
      int test3;
      readScores(&amp;test1, &amp;test2, &amp;test3);
      determineGrade(test1, test2, test3);
      print(test1, test2, test3);
      return 0;
  }
  
  void readScores(int *test1, int *test2, int *test3)
  {
      // Promts
      printf("Hello, this program will determine");
      printf("the grades of average test scores");
      printf("to see if you passed or not this year.");
      printf("Please enter in the three test...");
      printf("Note: only enter scores that are (0-100)");
  
      printf("Enter in test1\n");
      scanf("%d", test1);
      printf("Enter in test2\n");
      scanf("%d", test2);
      printf("Enter in test 3\n");
      scanf("%d", test3);
      return;
  }
  int determineGrade(int test1, int test2, int test3)
  {
      // Local declrations
      int average;
  
      // Math
      average = 3 / (test1 + test2 + test3);
      return average;
  }
  void print(int test1, int test2, int test3)
  {
      int Grade;
      Grade = determineGrade(test1, test2, test3);
      if (Grade &gt; 90)
      {
          printf("Great job you have an A %d int the class\n", Grade);
          return;
      }
      else if (70 &lt; Grade &gt; 90, test3)
      {
          if (test3 &lt; 90)
          {
              printf("Good job you got a A %d\n", Grade);
              return;
          }
          else
          {
              printf("Easy Beezy you got a B %d for the class\n", Grade);
              return;
          }
          return;
      }
      else if (50 &lt; Grade &gt; 70, test2, test3)
      {
          Grade = 2 / (test2 + test3);
          if (Grade &gt; 70)
          {
              printf("You passed congrats you have a C %d for the class\n", Grade);
              return;
          }
          else
          {
              printf("You have a D for the class %d\n", Grade);
              return;
          }
      }
      else if (Grade &lt; 50)
      {
          printf("Yeah you might want to take this class again you have a F %d\n", Grade);
          return;
      }
      return;
  }
  </code></pre>