title: C++ Error: Redeclaration of double TOTAL_CALORIES previously redclare here
body: <pre><code>#include &lt;iostream&gt;
  #include &lt;iomanip&gt; //round numbers
  #include &lt;cstdlib&gt;
  
  using namespace std;
  
  int main( )
  {
  
   //Declare
  const double ONE_COOKIES = 75.0;
  double ATE_COOKIES;
  double TOTAL_CALORIES;
  
   //Output of program
      cout &lt;&lt; " Input how many cookies you ate (eg, 3 &amp; 5): " &lt;&lt; endl; 
      cin &gt;&gt; ATE_COOKIES;
  
  
   // Round numbers
      cout &lt;&lt; fixed &lt;&lt; setprecision(1) &lt;&lt; ATE_COOKIES &lt;&lt; endl;
  
   //Formula  
      double TOTAL_CALORIES = ATE_COOKIES * ONE_COOKIES;
  
   //Results
   cout &lt;&lt; " One cookie is equal to " &lt;&lt; ONE_COOKIES &lt;&lt; " caloreis " &lt;&lt; " And you ate "     &lt;&lt; double caloreis &lt;&lt; " of cookies" &lt;&lt; endl; 
  
  
  
   system ("pause");
      return 0;
  }
  </code></pre>
  
  <p>This is a c++ program that i made trying to compute the program. Im having trouble computing the program so i'm asking for help. Thanks in advance.</p>