title: Error C2078: too many initializers
body: <p>Why does this code not work? My IDE is Visual Studio 2013.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  float tempatureGuide(float F, float C);
  #define FREEZING_PT 32.0f
  #define SCALE_FACTOR (5.0f/9.0f)
  int main(void)
  {
      float fahrenheit = 0.0;
      float celsius = 0.0 ;
      int convertTemp;
      printf ("Enter 0 to calculate Celsius or 1 to calculate Fahrenheit:            ");
      scanf ("%d", &amp;convertTemp);
  
      if (convertTemp == 0)
      {
          // compute Celsius
          printf("Enter Fahrenheit temperture: ");
          scanf("%f", &amp;fahrenheit);
          celsius = ((fahrenheit - FREEZING_PT) * SCALE_FACTOR);
          printf("Fahrenheit = %f  and Celsius = %f\n", fahrenheit, celsius);
          float tempatureGuide(fahrenheit, celsius);  // Error here
      }
      else
      {
          // compute fahrenheit
          printf("Enter the temperature in degrees fahrenheit\n\n");
          scanf("%f", &amp;fahrenheit);
          celsius = (SCALE_FACTOR)* (fahrenheit - FREEZING_PT);
          printf("The converted temperature is %f", celsius);
          float tempatureGuide(fahrenheit, celsius);    // and here
  
      }
      return (0);
  }
  
  float tempatureGuide(float F, float C){
      if (F &lt; 32 || C &lt; 0)
          printf("It is freezing!");
      else if (F &lt;= 60 || C &lt;= 16)
          printf("It is cold");
      else if (F &gt;= 70 || C &gt;= 21)
          printf("It is just right");
      else if (F &gt;= 82 || C &gt;= 28)
          printf("It is warm");
      else if (F &gt; 95 || C &gt; 35)
          printf("It is hot");
      else
          printf("Please enter a number!");
      return (0);
  }
  </code></pre>
  
  <p>The goal here is to add to the converting temperature project I did earlier and add an <code>if else</code> statement function to it that comments on the temp. The error I get is</p>
  
  <pre><code>Error   3   error C2078: too many initializes
  </code></pre>
  
  <p>on both the lines where I call my function. I searched for an answer but couldn't find any.</p>