title: Why does the following code give me 0 as the output
body: <pre><code>#include &lt;iostream&gt;
  #include &lt;iomanip&gt;
  
  using namespace std;
  
  int main() 
  {
          float a;
  
          float b;
          float avg;
  
          avg = ((3.5 * a) + (7.5 * b))/(3.5 + 7.5);
  
          cout &lt;&lt;"AVG = ";
          std::cout &lt;&lt; std::fixed &lt;&lt; std::setprecision(5) &lt;&lt; avg &lt;&lt; endl;
  
  
          return 0;
  }
  </code></pre>