title: Multiple floating point input from keyboard
body: <p>I am reading multiple floating numbers from a single scanf output.</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  #include&lt;math.h&gt;
  int main()
  { float a,b,c;
    float d,rot1,rot2;
    scanf("%f%f%f ", &amp;a, &amp;b, &amp;c);
    d = sqrt(b*b - 4*a*c);
    rot1 = (-b-d)/(2*a);
    rot2 = (-b+d)/(2*a);
    printf("%f %f", rot1, rot2);
    return 0;
  }
  </code></pre>
  
  <p>It takes 4 inputs; however, I want to take only 3 inputs for the addresses of variables a, b and c. I don't know which variable it takes the extra input from. When I wrote code for taking input for 2 variable, then it takes 3 inputs.</p>