Variance in c++

Im trying to convert this equation into c++ format, any suggestions?
Yes: post the equation.
give the equation
Topic archived. No new replies allowed.