title: How can I correct this basic standard deviation code on Dev-C++ 5.11?
body: <p>This is some sample code (don't mind the numbers):</p>
  <pre><code>#include&lt;stdio.h&gt;
  #include&lt;math.h&gt;
  int main()
  {
      int student_counter;
      float s_deviation;
      student_counter = 7;
      s_deviation = (1/student_counter)*sqrt(((student_counter*276)-1764)/student_counter-1);
      printf(&quot;%f &quot;,s_deviation);
      return 0;
  }
  </code></pre>
  <p>I am getting <code>0.000000</code> as output. How can I fix this code?</p>