title: error C2664: 'print_result' : cannot convert parameter 1 from 'int (__cdecl *)(int,int,int)' to 'int'
body: <pre><code>#include&lt;iostream&gt;
  using namespace std;
  
  bool is_different(int x, int y, int z);
  int max_of_three(int x, int y, int z);
  int greater_of_two(int x, int y);
  int min_of_three(int x, int y, int z);
  int smaller_of_two(int x, int y);
  void print_result(int min_of_three, int max_of_three);
  
  int main ()
  {
      int x, y, z;
      while(1==1)
      {
          cout &lt;&lt; "Please input 3 different integers." &lt;&lt; endl;
          cin &gt;&gt; x &gt;&gt; y &gt;&gt; z;
          if (is_different (x, y, z))
          {break;}
      }
      print_result(min_of_three, max_of_three);//error here
  }
  
  bool is_different (int x, int y, int z)
  {
      if (x!=y &amp;&amp; x!=z &amp;&amp; y!=z)
      {
          return true;
      }
      else
      {return false;}
  }   
  
  int greater_of_two (int x, int y)
  {
      if (x &gt; y)
          return x;
      if (y &gt; x)
          return y;
      return 0;
  }
  
  
  int max_of_three (int x, int y, int z)
  {
      return greater_of_two(greater_of_two(x, y) , z);
  }
  
  int smaller_of_two (int x, int y)
  {
      if (x &lt; y)
          return x;
      if (y &lt; x)
          return y;
      return 0;
  }
  
  int min_of_three (int x, int y, int z)
  {
      return smaller_of_two(smaller_of_two(x, y) , z);
  }
  
  void print_result (int min_of_three, int max_of_three)
  {
      cout &lt;&lt; "The minimum value of the three is " &lt;&lt; min_of_three &lt;&lt; endl;
      cout &lt;&lt; "The maximum value of the three is " &lt;&lt; max_of_three &lt;&lt; endl;
  }
  </code></pre>
  
  <p>I'm trying to write a program that finds the maximum and minimum of three different inputted integers for an assignment, this is my first time dealing with functions and I don't understand what the error means.</p>